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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <174421584602.1131324.11481345172873893292.b4-ty@kernel.org>
Date: Wed,  9 Apr 2025 09:24:08 -0700
From: Kees Cook <kees@...nel.org>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	Alejandro Colomar <alx@...nel.org>,
	Kees Cook <kees@...nel.org>
Cc: "Maciej W. Rozycki" <macro@...am.me.uk>,
	Azeem Shaikh <azeemshaikh38@...il.com>,
	Alex Elder <elder@...nel.org>,
	Sumit Garg <sumit.garg@...nel.org>,
	linux-kernel@...r.kernel.org,
	linux-hardening@...r.kernel.org
Subject: Re: [PATCH v2] EISA: Increase length of device names

On Mon, 07 Apr 2025 10:29:35 -0700, Kees Cook wrote:
> GCC 15's -Wunterminated-string-initialization warned about truncated
> name strings. Instead of marking them with the "nonstring" attribute[1],
> increase their length to correctly include enough space for the
> terminating NUL character, as they are used with %s format specifiers
> when showing resource allocations in /proc/ioports:
> 
>         seq_printf(m, "%*s%0*llx-%0*llx : %s\n", ..., r->name);
> 
> [...]

Applied to for-next/hardening, thanks!

[1/1] EISA: Increase length of device names
      https://git.kernel.org/kees/c/f891ec0e639a

Take care,

-- 
Kees Cook


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ