Pan Bian
79049c11e3
NFC: st21nfca: fix double free
...
[ Upstream commit 99a8efbb6e30b72ac98cecf81103f847abffb1e5 ]
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:15:40 +01:00
..
fdp
NFC: fdp: fix incorrect free object
2019-11-12 19:15:39 +01:00
microread
NFC: microread: Drop platform data header file
2016-03-09 23:25:45 +01:00
nfcmrvl
NFC: nfcmrvl_uart: fix OF child-node lookup
2018-12-01 09:44:21 +01:00
nxp-nci
NFC: nxp-nci: Include unaligned.h instead of access_ok.h
2019-01-09 16:16:39 +01:00
pn533
NFC: pn533: Fix wrong GFP flag usage
2018-08-24 13:12:32 +02:00
pn544
nfc: Drop owner assignment from i2c_driver
2016-05-01 23:38:14 +02:00
s3fwrn5
nfc: s3fwrn5: Use shash
2016-01-27 20:36:09 +08:00
st-nci
st_nci_hci_connectivity_event_received: null check the allocation
2019-09-06 10:19:32 +02:00
st21nfca
NFC: st21nfca: fix double free
2019-11-12 19:15:40 +01:00
st95hf
spi: ST ST95HF NFC: declare missing of table
2019-05-16 19:43:43 +02:00
Kconfig
NFC: nfcsim: Fix missing dependency on NFC_DIGITAL
2016-07-06 10:02:09 +02:00
Makefile
NFC: pn533: Separate physical layer from the core implementation
2016-04-09 23:53:15 +02:00
mei_phy.c
mei: bus: fix received data size check in NFC fixup
2016-10-31 10:25:22 -06:00
mei_phy.h
mei: bus: complete variable rename of type struct mei_cl_device
2015-09-20 19:31:09 -07:00
nfcsim.c
NFC: nfcsim: Simulate lost frames through debugfs entry
2016-07-19 23:24:49 +02:00
nfcwilink.c
drivers: misc: ti-st: Use int instead of fuzzy char for callback status
2016-07-17 19:59:26 +02:00
port100.c
nfc: Fix hangup of RC-S380* in port100_send_ack()
2017-08-06 18:59:41 -07:00
trf7970a.c
NFC: trf7970a: add TI recommended write of zero to Register 0x18
2016-07-04 12:20:21 +02:00