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

From: Andy Shevchenko

Date: Thu Oct 29 2026 - 10:25:14 EST


On Thu, Oct 29, 2026 at 12:47:04PM +0100, Alejandro Colomar wrote:

...

> How about not allowing a full buffer without a NUL terminator in the
> first place?

/dev/null is perfectly valid device, although I dunno if seq_but designed
in a way to support this case.

--
With Best Regards,
Andy Shevchenko