kernel32: initialize hole in struct in WaitNamedPipeW to avoid Valgrind warnings
Dan Kegel
dank at kegel.com
Mon Feb 11 19:43:11 CST 2008
This initializes a one byte hole in a struct sent to the server.
Without this fix, running any app produces Valgrind warnings like:
Syscall param writev(vector[...]) points to uninitialised byte(s)
at (within /lib/ld-2.5.so)
by wine_server_call (server.c:244)
by server_ioctl_file (file.c:1027)
by NtFsControlFile (file.c:1241)
by WaitNamedPipeW (sync.c:1326)
by service_open_pipe (service.c:341)
by QueryServiceStatusEx (service.c:1768)
by QueryServiceStatus (service.c:1704)
by StartServiceW (service.c:1623)
by main (wineboot.c:569)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: waitnamedpipe.patch
Type: text/x-patch
Size: 644 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080211/0d9ef693/attachment.bin
More information about the wine-patches
mailing list