Cleanup: initialize data to 0
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 8 May 2017 12:15:20 +0000 (08:15 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 9 May 2017 12:24:55 +0000 (08:24 -0400)
commit3914163aaca97bec298a74dcf82fb0f123f8623b
treea2334ca8c0c389cf277256bdefa7eb9650b31cd7
parent511a182e8280dab5713d4413192a5177f4b91eb1
Cleanup: initialize data to 0

Valgrind catches read of uninitialized data caused by the on-stack
"data" argument which ends up not being fully initialized (it contains a
union).

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/runas.c
This page took 0.027896 seconds and 5 git commands to generate.