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>
Tue, 8 Sep 2015 13:32:54 +0000 (09:32 -0400)
commit4c579b1f0f356e241627265c107757f2568c8daa
tree2fc0355ad763ce286be1dae0c65ace5d6ebfda2e
parent7fcdafc990481437561b620696c3409b9989cf2b
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.024415 seconds and 4 git commands to generate.