Files
linux/drivers/nfc
Dan Carpenter ca4d4c34ae nfc: pn533: prevent potential memory corruption
If the "type_a->nfcid_len" is too large then it would lead to memory
corruption in pn533_target_found_type_a() when we do:

	memcpy(nfc_tgt->nfcid1, tgt_type_a->nfcid_data, nfc_tgt->nfcid1_len);

Fixes: c3b1e1e8a7 ("NFC: Export NFCID1 from pn533")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-04-02 14:27:50 -07:00
..
2021-03-22 12:59:07 -07:00
2019-11-20 12:30:40 -08:00
2020-10-20 10:36:41 -07:00
2021-01-29 18:03:33 -08:00
2021-01-29 18:03:33 -08:00
2021-01-25 19:35:26 -08:00