[Bug 293296] lib/libc/string/strnlen_test:strnlen_size_max test failing on riscv64 in CI

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 07 Mar 2026 23:13:54 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293296

--- Comment #3 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=2a4e3112c811b9892e14e15cfd23538e7e47329c

commit 2a4e3112c811b9892e14e15cfd23538e7e47329c
Author:     Strahinja Stanišić <strajabot@FreeBSD.org>
AuthorDate: 2026-03-07 21:59:25 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2026-03-07 22:11:11 +0000

    libc/riscv64: temporarily disable strnlen() implementation until a fix is
developed

    strnlen() doesn't seem to cope well with a length argument such that
    string pointer plus length overflows past the end of the address space.

    Reviewed by:    fuz
    MFC after:      1 week
    PR:             293353, 293296
    Differential Revision:  https://reviews.freebsd.org/D55714

 lib/libc/riscv/string/Makefile.inc | 1 -
 1 file changed, 1 deletion(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.