netapi32: Fix heap buffer overflows

Jeffrey Morlan mrnobo1024 at
Sun Oct 11 15:02:40 CDT 2009

In three places, netapi32 currently does not allocate enough memory for buffers to hold the user name; the size in characters ought to be multiplied by sizeof(WCHAR) to get a size in bytes. Patch attached.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: netapi32-17530.patch
Type: application/octet-stream
Size: 1023 bytes
Desc: not available
URL: <>

More information about the wine-patches mailing list