[Mono-list] mono_class_from_name crash

Miguel de Icaza miguel at ximian.com
Sun Nov 19 10:06:05 EST 2006


> The mono_class_from_name function is documented to accept a NULL  
> image argument, yet providing a NULL argument leads to a crash.  
> Possible cause might be these lines:
> 	if (!image->name_cache)
> 		mono_image_init_name_cache (image);

This seems to be a bug in the documentation.

> Probably this should be changed to "if (image && !image- 
>  >name_cache)"? Or the documentation changed.
> Andreas
> Btw did anybody report that in Safari no content tree is being  
> displayed for the Mono docs?
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list

More information about the Mono-list mailing list