netapi32: Correctly reallocate buffer in NetWkstaUserGetInfo.
Thomas Faber
thomas.faber at reactos.org
Mon Aug 31 15:06:56 CDT 2015
- If NetApiBufferReallocate failed, the old buffer is not freed so we
need to do that if we're gonna return failure.
- If NetApiBufferReallocate succeeded, the buffer can have moved, so
the wkui0_username member needs to be updated. This happens e.g.
when running with Debug Page Heap.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-netapi32-Correctly-reallocate-buffer-in-NetWkstaUser.patch
Type: text/x-diff
Size: 989 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20150831/37891670/attachment.patch>
More information about the wine-patches
mailing list