diff options
author | Tomas Bortoli <[email protected]> | 2019-11-01 21:42:44 +0100 |
---|---|---|
committer | Marcel Holtmann <[email protected]> | 2019-11-04 15:19:02 +0100 |
commit | cf94da6f502d8caecabd56b194541c873c8a7a3c (patch) | |
tree | eeb6c8ad29126b87eea3880256f326ea10901a1f /scripts/gdb/linux/genpd.py | |
parent | 41d5b25fed0a010cedbdd25e56fdb92d59c233fa (diff) |
Bluetooth: Fix invalid-free in bcsp_close()
Syzbot reported an invalid-free that I introduced fixing a memleak.
bcsp_recv() also frees bcsp->rx_skb but never nullifies its value.
Nullify bcsp->rx_skb every time it is freed.
Signed-off-by: Tomas Bortoli <[email protected]>
Reported-by: [email protected]
Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/genpd.py')
0 files changed, 0 insertions, 0 deletions