2009-11-24 Sebastien Pouliot <sebastien@ximian.com>
commit8aafe6d17d255f555ccc831c45a2070ff0c42c74
authorSebastien Pouliot <sebastien@ximian.com>
Tue, 24 Nov 2009 16:17:17 +0000 (24 16:17 -0000)
committerSebastien Pouliot <sebastien@ximian.com>
Tue, 24 Nov 2009 16:17:17 +0000 (24 16:17 -0000)
tree149b91ba190fc710ed40f81cbb1e6b44dc784f4c
parent5d6e605db6578c39d8d8ae630fea2c206ab5ed26
2009-11-24  Sebastien Pouliot  <sebastien@ximian.com>

* image.c (mono_image_load_module): Fix crash when a bad assembly
has no module at all (fix bug #553412) and also replace the
g_assert with a return NULL (documented return value for failure)

svn path=/trunk/mono/; revision=146839
mono/metadata/ChangeLog
mono/metadata/image.c