qemu/hw/bt
zhanghailiang 2c145d7a73 l2cap: fix access to freed memory
Pointer 'ch' will be used in function 'l2cap_channel_open_req_msg' after
it was previously freed in 'l2cap_channel_open'.
Assigned it to NULL after it is freed.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2014-08-15 19:12:48 +04:00
..
Makefile.objs hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
core.c Preparation for usb-bt-dongle conditional build 2013-09-10 11:14:41 +02:00
hci-csr.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
hci.c Preparation for usb-bt-dongle conditional build 2013-09-10 11:14:41 +02:00
hid.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
l2cap.c l2cap: fix access to freed memory 2014-08-15 19:12:48 +04:00
sdp.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00