[Bug 293353] No overflow handling in the strnlen function

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 22 Feb 2026 07:18:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293353

--- Comment #1 from Max Last <maxim.like.python@gmail.com> ---
https://github.com/freebsd/freebsd-src/blob/6a6152bc292fbd86015507978c6d3556ef3915a1/lib/libc/riscv/string/strnlen.S#L30
There's an overflow here.

-- 
You are receiving this mail because:
You are the assignee for the bug.