Fix: relayd: missing session unlock on error path
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 16 Mar 2022 14:48:59 +0000 (10:48 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 17 Mar 2022 17:34:08 +0000 (13:34 -0400)
commit94814ee3f61dccf03001535eeaff10670b47e63b
tree33cb5692dde5748c6b7c3e5a65bd7e719c7e9e11
parent9be17bb098592af7b807812e3c9c54f6b75f453d
Fix: relayd: missing session unlock on error path

1475890 Missing unlock May result in deadlock if there is another
attempt to acquire the lock.

In viewer_get_new_streams(relay_connection *): Missing a release of a
lock on a path (CWE-667)

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