Fix: relayd: Explicit null dereferenced
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Fri, 27 Sep 2019 15:49:23 +0000 (11:49 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 3 Oct 2019 01:48:47 +0000 (21:48 -0400)
commitb83a30d513df98c20913e1de382f5e2e9279813a
tree2c8d99ac600b576334c8a286df02368c383f3258
parent8a9f43a82168e699ede81d2e560131fb1acc608c
Fix: relayd: Explicit null dereferenced

Coverity warns about an explicit null dereference on an early exit path.

Coverity report:
  CID 1405577 (#1 of 1): Explicit null dereferenced (FORWARD_NULL)7.
  var_deref_model: Passing null pointer previous_stream_fd to
  stream_fd_put, which dereferences it.

Reported-by: Coverity (1405577) Explicit null dereferenced
Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-relayd/stream-fd.c
This page took 0.024782 seconds and 4 git commands to generate.