diff options
author | Min Li <[email protected]> | 2023-04-17 10:27:54 +0800 |
---|---|---|
committer | Luiz Augusto von Dentz <[email protected]> | 2023-04-23 22:05:23 -0700 |
commit | 25e97f7b1866e6b8503be349eeea44bb52d661ce (patch) | |
tree | 2e8901a8126a28777e499945ae8bc378834c6941 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 000c2fa2c144c499c881a101819cf1936a1f7cf2 (diff) |
Bluetooth: L2CAP: fix "bad unlock balance" in l2cap_disconnect_rsp
conn->chan_lock isn't acquired before l2cap_get_chan_by_scid,
if l2cap_get_chan_by_scid returns NULL, then 'bad unlock balance'
is triggered.
Reported-by: [email protected]
Link: https://lore.kernel.org/all/[email protected]/
Signed-off-by: Min Li <[email protected]>
Signed-off-by: Luiz Augusto von Dentz <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions