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 20:29:54 +0000 (16:29 -0400)
commiteeccf346e0898f5ad66bd1b75e12280f3f7e6dd5
tree1a762634d3082fe787ad5f150c0645f4dff9cd8a
parent090c29826feebfa8d904acd8a2a9e35a4ef93fce
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.027203 seconds and 5 git commands to generate.