lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: 
 <174959945423.2737769.2970076626331161450.git-patchwork-notify@kernel.org>
Date: Tue, 10 Jun 2025 23:50:54 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Anton Moryakov <ant.v.moryakov@...il.com>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] netlink: add NULL check for get_string() in features.c

Hello:

This patch was applied to ethtool/ethtool.git (master)
by Michal Kubecek <mkubecek@...e.cz>:

On Tue, 13 May 2025 23:01:28 +0300 you wrote:
> Report of the static analyzer:
> Return value of a function 'get_string' is dereferenced at features.c:279
> without checking for NULL, but it is usually checked for this function (6/7).
> 
> Correct explained:
> Added NULL check for get_string() return value before passing to strcmp()
> to prevent potential NULL pointer dereference. This matches the behavior
> in other similar code paths where get_string() is used.
> 
> [...]

Here is the summary with links:
  - netlink: add NULL check for get_string() in features.c
    https://git.kernel.org/pub/scm/network/ethtool/ethtool.git/commit/?id=d12a0a7b343e

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

Powered by Openwall GNU/*/Linux Powered by OpenVZ