[Mono-bugs] [Bug 567084] sigsegv in mono_method_to_ir while JITting a verified method

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Dec 23 13:59:08 EST 2009


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

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


--- Comment #1 from Sebastien Pouliot <spouliot at novell.com> 2009-12-23 18:59:07 UTC ---
Simple fix

Index: mono/mini/method-to-ir.c
===================================================================
--- mono/mini/method-to-ir.c    (revision 148867)
+++ mono/mini/method-to-ir.c    (working copy)
@@ -7489,6 +7489,8 @@
             if (!cmethod)
                 goto load_error;
             fsig = mono_method_get_signature (cmethod, image, token);
+            if (!fsig)
+                goto load_error;

             mono_save_token_info (cfg, image, token, cmethod);

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list