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: 
 <169842122389.18415.12372296072101239979.git-patchwork-notify@kernel.org>
Date: Fri, 27 Oct 2023 15:40:23 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Jakub Kicinski <kuba@...nel.org>
Cc: davem@...emloft.net, netdev@...r.kernel.org, edumazet@...gle.com,
 pabeni@...hat.com, o.rempel@...gutronix.de
Subject: Re: [PATCH net-next] net: selftests: use ethtool_sprintf()

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:

On Wed, 25 Oct 2023 19:29:16 -0700 you wrote:
> During a W=1 build GCC 13.2 says:
> 
> net/core/selftests.c: In function ‘net_selftest_get_strings’:
> net/core/selftests.c:404:52: error: ‘%s’ directive output may be truncated writing up to 279 bytes into a region of size 28 [-Werror=format-truncation=]
>   404 |                 snprintf(p, ETH_GSTRING_LEN, "%2d. %s", i + 1,
>       |                                                    ^~
> net/core/selftests.c:404:17: note: ‘snprintf’ output between 5 and 284 bytes into a destination of size 32
>   404 |                 snprintf(p, ETH_GSTRING_LEN, "%2d. %s", i + 1,
>       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>   405 |                          net_selftests[i].name);
>       |                          ~~~~~~~~~~~~~~~~~~~~~~
> 
> [...]

Here is the summary with links:
  - [net-next] net: selftests: use ethtool_sprintf()
    https://git.kernel.org/netdev/net-next/c/79fa29570bd3

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