[Mono-dev] [PATCH] Mixed-mode: Ensure that the image is managed before calling LoadLibrary

Kornél Pál kornelpal at gmail.com
Sun Jun 29 17:48:29 EDT 2008


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 


More information about the Mono-devel-list mailing list