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

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


--- Comment #1 from Sebastien Pouliot <[email protected]> 2009-11-24 15:43:08 
UTC ---
This fix the crash but might now be the best fix (wrt FIXME). Note that it's
possible that this test case crash elsewhere (before hitting this condition) as
I'm now running with a few local patches.

Index: mono/metadata/verify.c
===================================================================
--- mono/metadata/verify.c    (revision 146811)
+++ mono/metadata/verify.c    (working copy)
@@ -3943,6 +3943,11 @@

     //FIXME use mono_method_get_signature_full
     sig = mono_method_signature (method);
+    if (!sig) {
+        ADD_VERIFY_ERROR (ctx, g_strdup_printf ("Could not resolve the
signature of constructor token 0x%08x at 0x%04x", token, ctx->ip_offset));
+        return;
+    }
+
     if (!check_underflow (ctx, sig->param_count))
         return;

-- 
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