https://github.com/torvalds/linux
Revision 4b2f4e072fb2599b6a2e5e277f0d2b5705eaa630 authored by Dan Carpenter on 26 July 2022, 15:13:44 UTC, committed by Luiz Augusto von Dentz on 26 July 2022, 20:32:40 UTC
Don't call mgmt_pending_remove() twice (double free).

Fixes: 6b88eff43704 ("Bluetooth: hci_sync: Refactor remove Adv Monitor")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
1 parent 9b134b1
History
Tip revision: 4b2f4e072fb2599b6a2e5e277f0d2b5705eaa630 authored by Dan Carpenter on 26 July 2022, 15:13:44 UTC
Bluetooth: mgmt: Fix double free on error path
Tip revision: 4b2f4e0
File Mode Size
Makefile -rw-r--r-- 361 bytes
compat.c -rw-r--r-- 2.2 KB
ipc_sysctl.c -rw-r--r-- 7.2 KB
mq_sysctl.c -rw-r--r-- 3.0 KB
mqueue.c -rw-r--r-- 43.8 KB
msg.c -rw-r--r-- 31.6 KB
msgutil.c -rw-r--r-- 3.6 KB
namespace.c -rw-r--r-- 5.3 KB
sem.c -rw-r--r-- 63.2 KB
shm.c -rw-r--r-- 44.8 KB
syscall.c -rw-r--r-- 5.1 KB
util.c -rw-r--r-- 23.6 KB
util.h -rw-r--r-- 8.9 KB

back to top