Fix: liblttng-ctl: unchecked return value on buffer append
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 21 Aug 2020 18:28:54 +0000 (14:28 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 21 Aug 2020 18:28:54 +0000 (14:28 -0400)
commit97285430b75f44b6ce590e86cb9d996390e514c8
tree2bcfa1cdccb265573f21795c96df1e4cbafd43ef
parentf5f5c54ddca12e77b50d8b3789de301ed61dbaee
Fix: liblttng-ctl: unchecked return value on buffer append

Allocation failures can cause lttng_dynamic_buffer_append to fail;
its result should always be checked.

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