[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260204135717.941256-1-dmantipov@yandex.ru>
Date: Wed, 4 Feb 2026 16:57:12 +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 v5 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 | 29 +++++++++++++++------
lib/kstrtox.c | 38 ++++++++++++++++++----------
lib/test-kstrtox.c | 6 +++++
lib/tests/cmdline_kunit.c | 53 +++++++++++++++++++++++++++++++++++++++
4 files changed, 105 insertions(+), 21 deletions(-)
--
2.52.0
Powered by blists - more mailing lists