Fix: status_loc argument of waitpid() is used on error
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 15 May 2017 14:37:18 +0000 (10:37 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 15 May 2017 14:37:23 +0000 (10:37 -0400)
commit1640c24c73ed9c061d8d148dfa18cfc5fd3b080b
treecd406c203058d928ffcd888f4a58bfe695786f78
parent587f9fd0f00d91c3c033245db087feb0d948020b
Fix: status_loc argument of waitpid() is used on error

waitpid() may leave stat_loc uninitialized on error (depending
on errno's value, see WAIT(3)).

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/main.c
This page took 0.024529 seconds and 4 git commands to generate.