[Mono-bugs] [Bug 553428] [verifier] SIGSEGV in mono_metadata_signature_equal on a bad assembly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Nov 23 18:28:31 EST 2009



--- Comment #2 from Rodrigo Kumpera <rkumpera at novell.com> 2009-11-23 23:28:30 UTC ---
the check for null signatures should be done by the caller not the callee.

It might be acceptable for mono_signature_get_desc since this is a debug
helper, but it should return a canonical string pointing to this fact.

Making mono_metadata_signature_equal accept NULL signatures will only help
hiding real bugs.

Unfortunately, the way to fix this is to check all callers of
mono_method_signature for what to do on failure.

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