[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2755955ff36c1283aba1c9a854d85de533bcd24a.camel@yandex.ru>
Date: Wed, 04 Feb 2026 14:22:30 +0300
From: Dmitry Antipov <dmantipov@...dex.ru>
To: Andy Shevchenko <andriy.shevchenko@...el.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>, Kees Cook <kees@...nel.org>,
"Darrick J . Wong"
<djwong@...nel.org>, linux-hardening@...r.kernel.org
Subject: Re: [PATCH v4 1/4] lib: fix _parse_integer_limit() to handle
overflow
On Wed, 2026-02-04 at 01:47 +0200, Andy Shevchenko wrote:
> > + } else
> > + res = res * base + val;
>
> Formally this should be } else { ... }, but I'm not going to insist.
No problem since there will be v5 with one more overflow detection
quirk around memparse() :-).
Dmitry
Powered by blists - more mailing lists