Thomas Faber : imagehlp: Do not pass NULL to WriteFile as lpNumberOfBytesWritten.
Module: wine Branch: master Commit: fd181c4937634c59502e548d1d65008b7c937e5a URL: http://source.winehq.org/git/wine.git/?a=commit;h=fd181c4937634c59502e548d1d... Author: Thomas Faber <thfabba(a)gmx.de> Date: Wed Jun 20 23:48:44 2012 +0200 imagehlp: Do not pass NULL to WriteFile as lpNumberOfBytesWritten. --- dlls/imagehlp/integrity.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/imagehlp/integrity.c b/dlls/imagehlp/integrity.c index c6d490c..d86ec11 100644 --- a/dlls/imagehlp/integrity.c +++ b/dlls/imagehlp/integrity.c @@ -461,7 +461,7 @@ BOOL WINAPI ImageAddCertificate( char null[8]; ZeroMemory(null, 8); - WriteFile(FileHandle, null, 8 - (Certificate->dwLength % 8), NULL, NULL); + WriteFile(FileHandle, null, 8 - (Certificate->dwLength % 8), &count, NULL); size += 8 - (Certificate->dwLength % 8); }
participants (1)
-
Alexandre Julliard