imagehlp: Do not pass NULL to WriteFile as lpNumberOfBytesWritten.

Thomas Faber thfabba at gmx.de
Wed Jun 20 17:19:27 CDT 2012


WriteFile with NULL for the "bytes written" parameter is invalid
for non-overlapped I/O (and crashes on Windows).
A suitable variable is already present in the function in question,
and used in other WriteFile calls for this purpose.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-imagehlp-Do-not-pass-NULL-to-WriteFile-as-lpNumberOf.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120621/0553a6a0/attachment.ksh>


More information about the wine-patches mailing list