diff options
author | Peilin Ye <yepeilin.cs@gmail.com> | 2020-09-09 10:25:51 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2020-09-11 10:00:53 +0300 |
commit | cafd472a10ff3bccd8afd25a69f20a491cd8d7b8 (patch) | |
tree | 7e135d7f36025ad34995064c2dc8b15de47535ce /drivers/bluetooth/hci_intel.c | |
parent | 2041a3f5009745d2b7d37208e7e7e8ccdb3d4c9c (diff) | |
download | linux-cafd472a10ff3bccd8afd25a69f20a491cd8d7b8.tar.xz |
Bluetooth: Fix memory leak in read_adv_mon_features()
read_adv_mon_features() is leaking memory. Free `rp` before returning.
Fixes: e5e1e7fd470c ("Bluetooth: Add handler of MGMT_OP_READ_ADV_MONITOR_FEATURES")
Reported-and-tested-by: syzbot+f7f6e564f4202d8601c6@syzkaller.appspotmail.com
Link: https://syzkaller.appspot.com/bug?extid=f7f6e564f4202d8601c6
Signed-off-by: Peilin Ye <yepeilin.cs@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/hci_intel.c')
0 files changed, 0 insertions, 0 deletions