http://bugzilla.novell.com/show_bug.cgi?id=623653

http://bugzilla.novell.com/show_bug.cgi?id=623653#c1


--- Comment #1 from Sebastien Pouliot <[email protected]> 2010-07-19 20:44:51 
UTC ---
I'm using the following patch to resume fuzzing.

Index: mono/metadata/class.c
===================================================================
--- mono/metadata/class.c    (revision 160387)
+++ mono/metadata/class.c    (working copy)
@@ -4371,7 +4371,8 @@
 static char*
 concat_two_strings_with_zero (MonoImage *image, const char *s1, const char
*s2)
 {
-    int len = strlen (s1) + strlen (s2) + 2;
+    int null_length = strlen ("(null)");
+    int len = (s1 ? strlen (s1) : null_length) + (s2 ? strlen (s2) :
null_length) + 2;
     char *s = mono_image_alloc (image, len);
     int result;

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to