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

Julien Otélé Manda scarmatil at gmail.com
Thu Mar 1 13:51:31 CST 2007


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: 0001-ntdll-Checks-if-a-DLL-exports-any-function-before-a.patch
Type: text/x-patch
Size: 1124 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070301/497a1bf9/0001-ntdll-Checks-if-a-DLL-exports-any-function-before-a.bin


More information about the wine-patches mailing list