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:36 +0000 (16:30 -0400)
commit78f1416ae5653e08758df32eeb0338e0f5c22acd
tree0d7041feba9c0e0eae67ca3dd59b7346dc1969ee
parentdd0ab7509addfa62db59e255ea8fdd884505367d
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.025911 seconds and 4 git commands to generate.