diff options
author | 2021-04-02 14:44:42 +0300 | |
---|---|---|
committer | 2021-04-02 14:27:50 -0700 | |
commit | ca4d4c34ae9aa5c3c0da76662c5e549d2fc0cc86 (patch) | |
tree | 3c90130a8db3ff83082850e5349dc0e836006630 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'dpaa2-rx-copybreak' (diff) | |
download | wireguard-linux-ca4d4c34ae9aa5c3c0da76662c5e549d2fc0cc86.tar.xz wireguard-linux-ca4d4c34ae9aa5c3c0da76662c5e549d2fc0cc86.zip |
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: c3b1e1e8a76f ("NFC: Export NFCID1 from pn533")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions