diff options
author | Krzysztof Kozlowski <[email protected]> | 2021-12-09 09:13:07 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2021-12-09 07:50:32 -0800 |
commit | 4cd8371a234d051f9c9557fcbb1f8c523b1c0d10 (patch) | |
tree | b68402a21e402fd2405ea0a85ed9534441422047 /scripts/gdb/linux/proc.py | |
parent | fd79a0cbf0b2e34bcc45b13acf962e2032a82203 (diff) |
nfc: fix potential NULL pointer deref in nfc_genl_dump_ses_done
The done() netlink callback nfc_genl_dump_ses_done() should check if
received argument is non-NULL, because its allocation could fail earlier
in dumpit() (nfc_genl_dump_ses()).
Fixes: ac22ac466a65 ("NFC: Add a GET_SE netlink API")
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions