[Mono-bugs] [Bug 562009] [verifier] SIGSEGV in mono_method_signature on a bad assembly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Dec 14 16:14:04 EST 2009


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

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


--- Comment #1 from Sebastien Pouliot <spouliot at novell.com> 2009-12-14 21:14:03 UTC ---
The problem is that mono_get_method can return NULL, so it needs to be checked
before calling mono_method_signature (easy fix leading to second
problem/crash).

This also means that mono_class_setup_methods (which calls mono_get_method) can
set NULL entries, needing an extra check later (everywhere where
mono_class_setup_methods is called and methods iterated).

It's likely other places also assume only non-NULL return values for
mono_get_method.

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