Re: [PATCH] seq_buf: Mark a seq_buf overflowed when terminating it loses a byte

From: Kees Cook

Date: Fri Oct 30 2026 - 15:06:58 EST


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