Fix: dereference before null check of channel attributes
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 6 May 2017 18:34:42 +0000 (14:34 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 6 May 2017 18:34:42 +0000 (14:34 -0400)
commit294851b040ddfb224f906015e87d6cfe41952808
tree846e3476eeb24d8fdf2557e356507df9399f4837
parent4fb43b68c1822cc7619907070489d3d678c41e7a
Fix: dereference before null check of channel attributes

Reported-by: Coverity Scan
CID 1374802 (#1 of 1): Dereference before null check (REVERSE_INULL)
check_after_deref: Null-checking attr suggests that it may be null,
but it has already been dereferenced on all paths leading to the check.

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