Re: [PATCH] ALSA: hda/generic: Replace strlcat() with strscpy()

From: Kees Cook

Date: Wed Jul 15 2026 - 12:45:21 EST


On Wed, Jul 15, 2026 at 11:25:18AM -0500, Ian Bridges wrote:
> A seq_buf conversion would also be possible.

I think this is the right approach. The string/length is passed around
as arguments already, so switching that to seq_buf would mean all the
users of those arg wouldn't have to do their own bounds checking, etc.

--
Kees Cook