[Mono-list] mono_class_from_name crash

Andreas Färber andreas.faerber at web.de
Sun Nov 19 06:43:18 EST 2006


Hello,

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

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?



More information about the Mono-list mailing list