http://bugzilla.novell.com/show_bug.cgi?id=572223
http://bugzilla.novell.com/show_bug.cgi?id=572223#c1 --- Comment #1 from Sebastien Pouliot <[email protected]> 2010-01-20 13:52:38 UTC --- This is similar to other reported issues. The 'klass->methods' list can contain NULL values (but maybe it should not) so we need to NULL check entries before using them. This patch fix the crash. Index: mono/metadata/class.c =================================================================== --- mono/metadata/class.c (revision 149902) +++ mono/metadata/class.c (working copy) @@ -7410,7 +7415,7 @@ method++; } while (method < &klass->methods [klass->method.count]) { - if (((*method)->flags & METHOD_ATTRIBUTE_VIRTUAL)) + /* there can be NULL values in the list of methods #572223 */ + if (*method && ((*method)->flags & METHOD_ATTRIBUTE_VIRTUAL)) break; 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. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
