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:25:01 +0000 (08:25 -0400)
commit05019b80c3829b30a3da62b912b1070c9e3b918f
treead04556594573802d167a67370baa625e9625202
parentaca2349cb7b2110204801a29b835b3ae6edfc459
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.04812 seconds and 4 git commands to generate.