virtfs-proxy-helper: fix call to accept
commitb0f9300ca389952aeaa4b96aa58bf3661e227420
authorTim Comer <comer0@gmail.com>
Sat, 19 Apr 2014 17:39:57 +0000 (19 13:39 -0400)
committerMichael Tokarev <mjt@tls.msk.ru>
Mon, 28 Apr 2014 04:55:32 +0000 (28 08:55 +0400)
tree7a531e5426e29bd948fe5e97e5732ef38da5a5b1
parent9057698d93cd4678788d1e8e0eaa5adb4fcbd82c
virtfs-proxy-helper: fix call to accept

The current code calls accept() without initializing the size parameter
which means the accept call might write too much to the stack.

URL: https://bugs.gentoo.org/486714
Signed-off-by: Tim Comer <comer0@gmail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
fsdev/virtfs-proxy-helper.c