Fix: NULL passed to memcpy in error path
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 28 Jul 2017 14:59:30 +0000 (10:59 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 28 Jul 2017 16:01:11 +0000 (12:01 -0400)
commit553b2adb9b58412e42ac11720ef9363d520123f6
tree29241694ff893bb212aa0a0e4ed27ca95e36b4f1
parente50e81d3670e2420810ff62a036a7303b578e1e1
Fix: NULL passed to memcpy in error path

CID 1378708:  Null pointer dereferences  (FORWARD_NULL)
Passing null pointer "data" to "memcpy", which dereferences it.

Reported-by: Coverity Scan
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-relayd/live.c
This page took 0.025636 seconds and 4 git commands to generate.