Date: Sat, 07 Mar 2026 23:13:16 +0000 From: Robert Clausecker <fuz@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Cc: Strahinja =?utf-8?Q?Stani=C5=A1?==?utf-8?Q?i=C4=87?= <strajabot@FreeBSD.org> Subject: git: 2a4e3112c811 - main - libc/riscv64: temporarily disable strnlen() implementation until a fix is developed Message-ID: <69acb10c.438df.132c4ea0@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by fuz: 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(-) diff --git a/lib/libc/riscv/string/Makefile.inc b/lib/libc/riscv/string/Makefile.inc index 6dae6b2cb62d..ce965833cb27 100644 --- a/lib/libc/riscv/string/Makefile.inc +++ b/lib/libc/riscv/string/Makefile.inc @@ -5,6 +5,5 @@ MDSRCS+= \ memcpy.S \ memset.S \ strlen.S \ - strnlen.S \ strchrnul.S \ strrchr.Shome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69acb10c.438df.132c4ea0>
