imagehlp: Do not pass NULL to WriteFile as lpNumberOfBytesWritten.

Thomas Faber thfabba at
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: <>

More information about the wine-patches mailing list