[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<174959945273.2737769.3505767070007602688.git-patchwork-notify@kernel.org>
Date: Tue, 10 Jun 2025 23:50:52 +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] fec: fix possible NULL dereference in fec_mode_walk()
Hello:
This patch was applied to ethtool/ethtool.git (master)
by Michal Kubecek <mkubecek@...e.cz>:
On Sun, 18 May 2025 16:18:18 +0300 you wrote:
> From: AntonMoryakov <ant.v.moryakov@...il.com>
>
> Static analyzer (Svace) reported a possible null pointer dereference
> in fec_mode_walk(), where the 'name' pointer is passed to print_string()
> without checking for NULL.
>
> Although some callers check the return value of get_string(), others
> (e.g., walk_bitset()) do not. This patch adds an early NULL check
> to avoid dereferencing a null pointer.
>
> [...]
Here is the summary with links:
- fec: fix possible NULL dereference in fec_mode_walk()
https://git.kernel.org/pub/scm/network/ethtool/ethtool.git/commit/?id=33fffbbdc12d
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