Files
linux/drivers/nfc
Pan Bian 12e3d9b35c NFC: st21nfca: fix double free
[ Upstream commit 99a8efbb6e ]

The variable nfcid_skb is not changed in the callee nfc_hci_get_param()
if error occurs. Consequently, the freed variable nfcid_skb will be
freed again, resulting in a double free bug. Set nfcid_skb to NULL after
releasing it to fix the bug.

Signed-off-by: Pan Bian <bianpan2016@163.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-11-12 19:17:55 +01:00
..
2019-11-12 19:17:53 +01:00
2019-11-12 19:17:55 +01:00
2017-06-16 11:48:40 -04:00