From: Jérémie Galarneau Date: Fri, 31 Jan 2020 22:58:56 +0000 (-0500) Subject: Fix: relayd: return from function without unlocking session lock X-Git-Tag: v2.12.0-rc1~10 X-Git-Url: http://git.lttng.org./?a=commitdiff_plain;h=881881996ba715d8598ba78ad16ba07ce9e289f3;hp=881881996ba715d8598ba78ad16ba07ce9e289f3;p=lttng-tools.git Fix: relayd: return from function without unlocking session lock Some error paths in relay_close_trace_chunk() skip the unlock of the relay_session's lock. 412203 Missing unlock May result in deadlock if there is another attempt to acquire the lock. In relay_close_trace_chunk: Missing a release of a lock on a path (CWE-667) Reported-by: Coverity Scan Signed-off-by: Jérémie Galarneau Change-Id: I43187959abf00e761f7a255f4af7cd53e0c451fb ---