Re: [GIT PULL] seq_buf: Fix seq_buf_vprintf() truncation
From: Steven Rostedt
Date: Wed Mar 04 2015 - 15:29:17 EST
On Wed, 04 Mar 2015 12:21:21 -0800
Joe Perches <joe@xxxxxxxxxxx> wrote:
> > @@ -61,7 +61,7 @@ int seq_buf_vprintf(struct seq_buf *s, const char *fmt, va_list args)
> >
> > if (s->len < s->size) {
> > len = vsnprintf(s->buffer + s->len, s->size - s->len, fmt, args);
>
> Presumably the seq_buf_bprintf function has the same issue.
>
Hmm, seems so. I'll make up another patch.
-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/