Linux Hardening
 help / color / mirror / Atom feed
* [PATCH v2 0/3] lib and lib/cmdline enhancements
@ 2026-01-23 11:46 Dmitry Antipov
  2026-01-23 11:46 ` [PATCH v2 1/3] lib: fix _parse_integer_limit() to handle overflow Dmitry Antipov
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Dmitry Antipov @ 2026-01-23 11:46 UTC (permalink / raw)
  To: Andy Shevchenko
  Cc: Andrew Morton, Kees Cook, Darrick J . Wong, linux-hardening,
	Dmitry Antipov

Adjust '_parse_integer_limit()' to not ignore overflows, add KUnit-based
test for 'memparse()' and fix kernel-doc glitches found in lib/cmdline.c.

Dmitry Antipov (3):
  lib: fix _parse_integer_limit() to handle overflow
  lib/cmdline_kunit: add test case for memparse()
  lib/cmdline: adjust a few comments to fix kernel-doc -Wreturn warnings

 lib/cmdline.c             |  7 ++++--
 lib/kstrtox.c             | 32 +++++++++++++++---------
 lib/tests/cmdline_kunit.c | 52 +++++++++++++++++++++++++++++++++++++++
 3 files changed, 77 insertions(+), 14 deletions(-)

-- 
2.52.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-01-23 16:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-23 11:46 [PATCH v2 0/3] lib and lib/cmdline enhancements Dmitry Antipov
2026-01-23 11:46 ` [PATCH v2 1/3] lib: fix _parse_integer_limit() to handle overflow Dmitry Antipov
2026-01-23 16:06   ` Andy Shevchenko
2026-01-23 11:46 ` [PATCH v2 2/3] lib/cmdline_kunit: add test case for memparse() Dmitry Antipov
2026-01-23 16:10   ` Andy Shevchenko
2026-01-23 11:46 ` [PATCH v2 3/3] lib/cmdline: adjust a few comments to fix kernel-doc -Wreturn warnings Dmitry Antipov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox