diff options
| author | Strahinja Stanišić <strajabot@FreeBSD.org> | 2026-03-07 21:59:25 +0000 |
|---|---|---|
| committer | Robert Clausecker <fuz@FreeBSD.org> | 2026-03-07 22:11:11 +0000 |
| commit | 2a4e3112c811b9892e14e15cfd23538e7e47329c (patch) | |
| tree | b9f80fc7b53f51f40dcbec07ff09d0bd19707e5d | |
| parent | fa4f625ed854cec2d7657783b955426fce8ff9ba (diff) | |
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
| -rw-r--r-- | lib/libc/riscv/string/Makefile.inc | 1 |
1 files changed, 0 insertions, 1 deletions
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.S |
