Hi,
Currently LoadLibrary is called on the file that is possibly a CLI
image. This patch adds a check to ensure that the image is really a CLI
image before calling LoadLibrary.
_CorValidateImage is only called for CLI images so this extra check is
required to ensure security.
Please review and approve the patch.
Thanks.
Kornél
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: monoloadimage.diff.txt
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080629/440591eb/attachment.txt