Fix: lttng: add-trigger: erroneous null check
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 26 Feb 2021 18:43:42 +0000 (13:43 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 4 Mar 2021 16:59:19 +0000 (11:59 -0500)
commit14f27f798c912b58dca37abe8523b3cffd0d17b4
treee33f97bd3a7184e20528406baf009edb91309586
parent279eb7696df539359918a08c68d3dd48741a4370
Fix: lttng: add-trigger: erroneous null check

1447042 Dereference before null check

There may be a null pointer dereference, or else the comparison against null is unnecessary.

In parse_kernel_probe_opts: All paths that lead to this null pointer comparison already dereference the pointer earlier (CWE-476)

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