On Fri, 01 May 2026 12:10:39 -0500
Tom Zanussi <[email protected]> wrote:

> > +   /* Terminate synthetic_name with a NUL. */
> > +   seq_buf_str(&s);
> > +  
> 
> This doesn't hurt, but is it really needed? I think seq_buf_printf()
> already null-terminates.

Technically it does, but it's not guaranteed to do so. That is, only
seq_buf_str() defines terminating the string in the API.

-- Steve

Reply via email to