* icall.c (ves_icall_type_Equals): Handle NULLs. Fixes #77700. svn path=/trunk/mono/; revision=57578
@@ -1,3 +1,7 @@
+2006-03-04 Zoltan Varga <[email protected]>
+
+ * icall.c (ves_icall_type_Equals): Handle NULLs. Fixes #77700.
2006-03-04 Martin Baulig <[email protected]>
* icall.c (ves_icall_MonoGenericClass_GetParentType): Dynamically
@@ -1085,7 +1085,7 @@ ves_icall_type_Equals (MonoReflectionType *type, MonoReflectionType *c)
{
MONO_ARCH_SAVE_REGS;
- if (type->type && c->type)
+ if (c && type->type && c->type)
return mono_metadata_type_equal (type->type, c->type);
else
return FALSE;