[Mono-bugs] [Bug 79520][Nor] New - incorrect binding to gtk_init_check (twice)

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Sep 28 11:05:06 EDT 2006

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by lupus at ximian.com.


--- shadow/79520	2006-09-28 11:05:06.000000000 -0400
+++ shadow/79520.tmp.17821	2006-09-28 11:05:06.000000000 -0400
@@ -0,0 +1,25 @@
+Bug#: 79520
+Product: Mono: Class Libraries
+Version: 1.1
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: lupus at ximian.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: incorrect binding to gtk_init_check (twice)
+Managed winforms has two incorrect pinvoke bindings to gtk_init_check,
+which is declared as follows in C:
+gboolean gtk_init_check (int *argc, char ***argv);
+but in C# a simple string is used for argv:
+static extern bool gtk_init_check (out int argc, string argv);
+The end result could be random memory corruption.

More information about the mono-bugs mailing list