Re: [PATCH] nfc: fix potential NULL pointer deref in nfc_genl_dump_ses_done

From: patchwork-bot+netdevbpf
Date: Thu Dec 09 2021 - 11:00:20 EST


Hello:

This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Thu, 9 Dec 2021 09:13:07 +0100 you wrote:
> 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")
> Cc: <stable@xxxxxxxxxxxxxxx>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxx>
>
> [...]

Here is the summary with links:
- nfc: fix potential NULL pointer deref in nfc_genl_dump_ses_done
https://git.kernel.org/netdev/net/c/fd79a0cbf0b2

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html