mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Kees Cook <kees@kernel.org>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Alejandro Colomar <alx@kernel.org>, Kees Cook <kees@kernel.org>
Cc: "Maciej W. Rozycki" <macro@orcam.me.uk>,
	Azeem Shaikh <azeemshaikh38@gmail.com>,
	Alex Elder <elder@kernel.org>, Sumit Garg <sumit.garg@kernel.org>,
	linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org
Subject: Re: [PATCH v2] EISA: Increase length of device names
Date: Wed,  9 Apr 2025 09:24:08 -0700	[thread overview]
Message-ID: <174421584602.1131324.11481345172873893292.b4-ty@kernel.org> (raw)
In-Reply-To: <20250407172926.it.281-kees@kernel.org>

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


      parent reply	other threads:[~2025-04-09 16:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-07 17:29 Kees Cook
2025-04-07 21:20 ` Alejandro Colomar
2025-04-09 16:24 ` Kees Cook [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=174421584602.1131324.11481345172873893292.b4-ty@kernel.org \
    --to=kees@kernel.org \
    --cc=alx@kernel.org \
    --cc=azeemshaikh38@gmail.com \
    --cc=elder@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-hardening@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=macro@orcam.me.uk \
    --cc=sumit.garg@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®