[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<174959945698.2737769.12311191847890318758.git-patchwork-notify@kernel.org>
Date: Tue, 10 Jun 2025 23:50:56 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Anton Moryakov <ant.v.moryakov@...il.com>
Cc: mkubecek@...e.cz, netdev@...r.kernel.org
Subject: Re: [PATCH ethtool V2] json_print: add NULL check before
jsonw_string_field() in print_string()
Hello:
This patch was applied to ethtool/ethtool.git (master)
by Michal Kubecek <mkubecek@...e.cz>:
On Sun, 18 May 2025 16:01:11 +0300 you wrote:
> From: AntonMoryakov <ant.v.moryakov@...il.com>
>
> Static analyzer (Svace) reported a potential null pointer dereference
> in print_string(). Specifically, when both 'key' and 'value' are NULL,
> the function falls through to jsonw_string_field(_jw, key, value),
> which dereferences both pointers.
>
> [...]
Here is the summary with links:
- [ethtool,V2] json_print: add NULL check before jsonw_string_field() in print_string()
https://git.kernel.org/pub/scm/network/ethtool/ethtool.git/commit/?id=fd328ccb3cc0
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists