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 19:55:05 +0000 (15:55 -0400)
commit7955af2dca5ddbcce6fa2afa6be862318ba46b44
tree8c64d8a6d9c5611d06e9984ff5b34aeee9ad3ca8
parentc3dce007e6c57337c8e3060702aab15e3d789795
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.028964 seconds and 5 git commands to generate.