[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260209164757.433932-1-dmantipov@yandex.ru>
Date: Mon, 9 Feb 2026 19:47:52 +0300
From: Dmitry Antipov <dmantipov@...dex.ru>
To: Andy Shevchenko <andriy.shevchenko@...el.com>,
Andrew Morton <akpm@...ux-foundation.org>
Cc: Kees Cook <kees@...nel.org>,
"Darrick J . Wong" <djwong@...nel.org>,
linux-hardening@...r.kernel.org,
linux-kernel@...r.kernel.org,
Dmitry Antipov <dmantipov@...dex.ru>
Subject: [PATCH v6 0/5] lib and lib/cmdline enhancements
Adjust '_parse_integer_limit()' and 'memparse()' to not ignore
overflows, extend string to 64-bit integer conversion tests, add
KUnit-based test for 'memparse()' and fix kernel-doc glitches
found in lib/cmdline.c.
Dmitry Antipov (5):
lib: fix _parse_integer_limit() to handle overflow
lib: fix memparse() to handle overflow
lib: add more string to 64-bit integer conversion overflow tests
lib/cmdline_kunit: add test case for memparse()
lib/cmdline: adjust a few comments to fix kernel-doc -Wreturn warnings
lib/cmdline.c | 39 ++++++++++++++++++++-------
lib/kstrtox.c | 47 ++++++++++++++++++++-------------
lib/test-kstrtox.c | 6 +++++
lib/tests/cmdline_kunit.c | 55 +++++++++++++++++++++++++++++++++++++++
4 files changed, 120 insertions(+), 27 deletions(-)
--
2.53.0
Powered by blists - more mailing lists