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 00:31:33 +0000 (20:31 -0400)
commit5a72475c0a40375466410814049c218cb1755ab3
tree9df075888c797587b90c3355f86c70d0f2185283
parent17e736a54fe930f716be482a294f803a1e8b6ed0
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.029391 seconds and 4 git commands to generate.