lkml.org 
[lkml]   [2026]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v6 0/2] lib/vsprintf: Fixes size check
On Tue, 5 May 2026 10:37:56 +0200
Petr Mladek <pmladek@suse.com> wrote:

> On Thu 2026-03-26 21:11:50, Masami Hiramatsu (Google) wrote:
> > Hi,
> >
> > Here is the 6th version of patches to fix vsnprintf().
> >
> > - Fix to limit the size of width and precision.
> > - Warn if the return size is over INT_MAX.
> >
> > Previous version is here;
> >
> > https://lore.kernel.org/all/177444525139.185641.12184379647176430297.stgit@devnote2/
> >
> > This version just makes function header and WARN_ONCE() to one line[1/2].
> > No functional change.
> >
> > Thank you,
> >
> > ---
> >
> > Masami Hiramatsu (Google) (2):
> > lib/vsprintf: Fix to check field_width and precision
> > lib/vsprintf: Limit the returning size to INT_MAX
>
> JFYI, the patchset has been commited into printk/linux.git,
> branch for-7.2-vsprintf-size-checks.

Got it, Thank you!


>
> Best Regards,
> Petr


--
Masami Hiramatsu (Google) <mhiramat@kernel.org>

\
 
 \ /
  Last update: 2026-05-07 09:39    [W:0.125 / U:30.705 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog