summaryrefslogtreecommitdiff
path: root/net/mac802154
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>2021-12-09 11:13:07 +0300
committerJakub Kicinski <kuba@kernel.org>2021-12-09 18:50:32 +0300
commit4cd8371a234d051f9c9557fcbb1f8c523b1c0d10 (patch)
treeb68402a21e402fd2405ea0a85ed9534441422047 /net/mac802154
parentfd79a0cbf0b2e34bcc45b13acf962e2032a82203 (diff)
downloadlinux-4cd8371a234d051f9c9557fcbb1f8c523b1c0d10.tar.xz
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 <krzysztof.kozlowski@canonical.com> Link: https://lore.kernel.org/r/20211209081307.57337-1-krzysztof.kozlowski@canonical.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/mac802154')
0 files changed, 0 insertions, 0 deletions