mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] lib/ucs2_string.c: fix out-of-bounds read in ucs2_strnlen()
@ 2026-07-22 21:04 Vincent Mailhol
  2026-07-22 21:04 ` [PATCH 1/2] lib/ucs2_string.c: fix indentation Vincent Mailhol
  2026-07-22 21:04 ` [PATCH 2/2] lib/ucs2_string.c: fix out-of-bounds read in ucs2_strnlen() Vincent Mailhol
  0 siblings, 2 replies; 5+ messages in thread
From: Vincent Mailhol @ 2026-07-22 21:04 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, Vincent Mailhol

This series fixes an off-by-one out-of-bounds read in ucs2_strnlen().

The first patch is a simple refactor which fixes the code indentation.
The second and last patch is the real fix.

Signed-off-by: Vincent Mailhol <mailhol@kernel.org>
---
Vincent Mailhol (2):
      lib/ucs2_string.c: fix indentation
      lib/ucs2_string.c: fix out-of-bounds read in ucs2_strnlen()

 lib/ucs2_string.c | 38 +++++++++++++++++++-------------------
 1 file changed, 19 insertions(+), 19 deletions(-)
---
base-commit: 1590cf0329716306e948a8fc29f1d3ee87d3989f
change-id: 20260722-fix-ucs2_strnlen-145f5d4b1f6b

Best regards,
-- 
Vincent Mailhol <mailhol@kernel.org>


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

end of thread, other threads:[~2026-07-23 19:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-22 21:04 [PATCH 0/2] lib/ucs2_string.c: fix out-of-bounds read in ucs2_strnlen() Vincent Mailhol
2026-07-22 21:04 ` [PATCH 1/2] lib/ucs2_string.c: fix indentation Vincent Mailhol
2026-07-22 21:04 ` [PATCH 2/2] lib/ucs2_string.c: fix out-of-bounds read in ucs2_strnlen() Vincent Mailhol
2026-07-22 23:01   ` Andrew Morton
2026-07-23 19:38     ` Vincent Mailhol

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

all inboxes | Powered by JetHome®