Fix: Possible passing of NULL pointer to memcpy()
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 5 Sep 2015 16:02:10 +0000 (12:02 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 5 Sep 2015 16:02:10 +0000 (12:02 -0400)
commitb742e3e20470f98be1c1fda6d0c5b3346e19d6e8
tree4e408e0d035440b554c58dc7f4274f4692b34202
parent32d1569c14b4e1efce9099a1e04c338a9c42f1f7
Fix: Possible passing of NULL pointer to memcpy()

_cmd_enable_event() will not jump to the error label in case of
memory allocation of the filter bytecode copy. This causes the NULL
return of zmalloc to be used by memcpy() directly.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/cmd.c
This page took 0.026498 seconds and 5 git commands to generate.