Re: Valgrind and structs with holes

2007-11-02 Thread Alexandre Julliard
"Dan Kegel" <[EMAIL PROTECTED]> writes: > For instance, the warning > ==3415== Syscall param writev(vector[1]) points to uninitialised byte(s) > ==3415==at 0x40007F2: (within /lib/ld-2.6.1.so) > ==3415==by 0x4412E24: wine_server_call (server.c:244) > ==3415==by 0x43EBA73: server_ioctl_

Valgrind and structs with holes

2007-10-31 Thread Dan Kegel
Valgrind is a great tool, but if there's a struct with a hole in it, and we write that struct to a socket (say, to send it to the server), valgrind will likely complain that the hole is uninitialized. For instance, the warning ==3415== Syscall param writev(vector[1]) points to uninitialised byte(s