Fix: lttng-elf.c: dereferencing pointer before null check
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Wed, 9 Oct 2019 13:32:40 +0000 (09:32 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 9 Oct 2019 15:46:05 +0000 (11:46 -0400)
commitee5b998f96be26a66976fd8afbe712e1ff43f411
tree49a5b65f0e7bd919b8f1c26f91e7a3c46c57625a
parentb7e59a889b23e90f483f1aec9ca591dd307d32cb
Fix: lttng-elf.c: dereferencing pointer before null check

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

Reported-by: Coverity (1405899) Dereference before null check
Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/lttng-elf.c
This page took 0.026158 seconds and 4 git commands to generate.