Fix: possible null dereference on communication error
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 29 Aug 2018 21:06:48 +0000 (17:06 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 30 Aug 2018 16:35:13 +0000 (12:35 -0400)
commitd9f484bc6f074842bc4ac3eab0127fe3aaa10909
tree98e2baf49bd5c65c5b53f820966f89a8fe67079a
parentff75c11e409c084f513046c7dd2071e4750081d9
Fix: possible null dereference on communication error

lttng_ctl_ask_sessiond_fds_varlen() can return a positive
error code and NULL buffers if the sessiond uses a command
return code that is already negative.

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