Messages in this thread | | | Subject | Re: [PATCH] nfc: fix potential NULL pointer deref in nfc_genl_dump_ses_done | From | patchwork-bot+netdevbpf@kernel ... | Date | Thu, 09 Dec 2021 16:00:09 +0000 |
| |
Hello:
This patch was applied to netdev/net.git (master) by Jakub Kicinski <kuba@kernel.org>:
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@vger.kernel.org> > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> > > [...]
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
| |