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:30:44 +0000 (16:30 -0400)
commit4c8e238290ce69623f4485b3b6104a5901d8ed0d
treeecc9798123ce5ed5ea219f23c332ab2c3920f6c6
parent811b2f150aae06ae0d211dc97416b847986798a3
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.025746 seconds and 4 git commands to generate.