Fix: common: Dereference after null check
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Tue, 1 Oct 2019 20:06:04 +0000 (16:06 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 3 Oct 2019 01:48:47 +0000 (21:48 -0400)
commit979ee28a8a3276b7835cc40e0e0e989bc7f624b8
tree7a01a3a9081eb3ca445c68c3134e530325513aea
parente1056f768710c75a22ec1f79e8337b52390e2530
Fix: common: Dereference after null check

Coverity report:
  CID 1404929 (#1 of 1): Dereference after null check (FORWARD_NULL)
  25. var_deref_model: Passing null pointer directory_to_rename to
  lttng_directory_handle_rename_as_user, which dereferences it.

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