ntdll: Checks if a DLL exports any function before allocating space for it

Julien Otélé Manda scarmatil at gmail.com
Thu Mar 1 19:09:42 CST 2007


Woops, I had modified the error message :o, fixed :

On 3/1/07, Julien Otélé Manda <scarmatil at gmail.com> wrote:
> Hi,
> When a dll exports no function, NtAllocateVirtualMemory were called
> with a null size  to store its functions anyway, thus returning a
> STATUS_INVALID_PARAMETER error which was not handled properly.
> The number of function exported is now checked before calling
> NtAllocateVirtualMemory.
>
> Changelog :
>
>    * ntdll: Checks if a DLL exports any function before allocating space for it
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v2.diff
Type: text/x-patch
Size: 1083 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070302/a72032d8/v2-0001.bin


More information about the wine-patches mailing list