Re: [PATCH] passfd: fix use of uninitialised variable

2015-02-24 Thread Pavel Hrdina
On Tue, Feb 24, 2015 at 12:17:19PM +, Pádraig Brady wrote: > On 24/02/15 10:14, Pavel Hrdina wrote: > > This was found by running libvirt using valgrind. Commit ee195daf > > introduced passfd code. > > > > ==7533== Syscall param sendmsg(msg.msg_control) points to uninitialised > > byte(s) > >

Re: [PATCH] passfd: fix use of uninitialised variable

2015-02-24 Thread Pádraig Brady
On 24/02/15 10:14, Pavel Hrdina wrote: > This was found by running libvirt using valgrind. Commit ee195daf > introduced passfd code. > > ==7533== Syscall param sendmsg(msg.msg_control) points to uninitialised > byte(s) > ==7533==at 0x8C728FD: ??? (in /lib64/libpthread-2.19.so) > ==7533==b

[PATCH] passfd: fix use of uninitialised variable

2015-02-24 Thread Pavel Hrdina
This was found by running libvirt using valgrind. Commit ee195daf introduced passfd code. ==7533== Syscall param sendmsg(msg.msg_control) points to uninitialised byte(s) ==7533==at 0x8C728FD: ??? (in /lib64/libpthread-2.19.so) ==7533==by 0x54F04D1: sendfd (passfd.c:86) ==7533==by 0x543