mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Kees Cook <kees@kernel.org>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: Alejandro Colomar <alx+linux-hardening@kernel.org>,
	Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
	Bill Wendling <morbo@google.com>, Petr Mladek <pmladek@suse.com>,
	Randy Dunlap <rdunlap@infradead.org>,
	Shuvam Pandey <shuvampandey1@gmail.com>,
	linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org
Subject: Re: [PATCH] seq_buf: Mark a seq_buf overflowed when terminating it loses a byte
Date: Fri, 30 Oct 2026 12:06:43 -0700	[thread overview]
Message-ID: <202610301206.5E80A3396A@keescook> (raw)
In-Reply-To: <20261029091845.21464a1a@gandalf.local.home>

On Thu, Oct 29, 2026 at 09:18:45AM -0400, Steven Rostedt wrote:
> Hmm, I was thinking that this should first check if the string is already
> terminated with a nul byte. Why add another one if it is?

Oh, ew, yes. Fixing...

-- 
Kees Cook

  parent reply	other threads:[~2026-10-30 19:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-29  5:32 Kees Cook
2026-10-29 11:47 ` Alejandro Colomar
2026-10-29 13:18   ` Steven Rostedt
2026-10-29 13:52     ` Alejandro Colomar
2026-10-29 14:18       ` Steven Rostedt
2026-10-30 20:07         ` Alejandro Colomar
2026-10-30 19:06     ` Kees Cook [this message]
2026-10-29 14:15   ` Andy Shevchenko

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=202610301206.5E80A3396A@keescook \
    --to=kees@kernel.org \
    --cc=alx+linux-hardening@kernel.org \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=linux-hardening@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=morbo@google.com \
    --cc=pmladek@suse.com \
    --cc=rdunlap@infradead.org \
    --cc=rostedt@goodmis.org \
    --cc=shuvampandey1@gmail.com \
    /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®