[Mono-bugs] [Bug 79520][Nor] Changed - incorrect binding to gtk_init_check (twice)
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Thu Sep 28 14:09:22 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 alex.olk at googlemail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=79520
--- shadow/79520 2006-09-28 11:05:06.000000000 -0400
+++ shadow/79520.tmp.21130 2006-09-28 14:09:22.000000000 -0400
@@ -1,14 +1,14 @@
Bug#: 79520
Product: Mono: Class Libraries
Version: 1.1
-OS:
+OS: unknown
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Normal
Component: Windows.Forms
AssignedTo: toshok at ximian.com
ReportedBy: lupus at ximian.com
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
@@ -20,6 +20,12 @@
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.
+
+------- Additional Comments From alex.olk at googlemail.com 2006-09-28 14:09 -------
+Do we really need to change anything here ?
+
+argv is always an empty string because gtk_init_check is only used to
+initialize the gtk library. No args are ever transfered to gtk_init_check.
More information about the mono-bugs
mailing list