aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2023-10-13 20:41:29 +0200
committerJakub Kicinski <[email protected]>2023-10-16 17:34:53 -0700
commit7937609cd387246aed994e81aa4fa951358fba41 (patch)
tree63070df34f7e0ad79b9e57621dabb0ae0d439b3d /tools/testing/selftests/bpf/progs/test_autoload.c
parent503930f8e113edc86f92b767efb4ea57bdffffb2 (diff)
nfc: nci: fix possible NULL pointer dereference in send_acknowledge()
Handle memory allocation failure from nci_skb_alloc() (calling alloc_skb()) to avoid possible NULL pointer dereference. Reported-by: 黄思聪 <[email protected]> Fixes: 391d8a2da787 ("NFC: Add NCI over SPI receive") Cc: <[email protected]> Signed-off-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions