ntdll: suppress Valgrind warnings in NtFsControlFile (take 3)

Dan Kegel dank at kegel.com
Tue Jul 1 05:31:47 CDT 2008

Alexandre pointed out that ioctl's often involve structs with holes,
so may as well suppress uninitialized write errors in all calls
to NtFsControlFile.

Prevents 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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ntdll-ioctl.patch
Type: text/x-diff
Size: 652 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080701/faffd4ce/attachment.patch 

More information about the wine-patches mailing list