diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2025-12-16 19:04:51 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2025-12-16 19:14:44 +0000 |
| commit | ce9557d4ee174267504a63b2c8f6009be27368c9 (patch) | |
| tree | 7d9164009c42bb35134c0cf97c0e1c57ba30d8fa | |
| parent | 8b780f75f7ef9ef56935800220e65c47171b74c4 (diff) | |
libc/amd64: Disable baseline version of stpncpy()
This implementation appears to be broken on some CPUs. Disable it
until the issue can be investigated and fixed.
PR: 291720
Fixes: 66eb78377bf1 ("libc/amd64: fix overread conditions in stpncpy()")
Fixes: 90253d49db09 ("lib/libc/amd64/string: add stpncpy scalar, baseline implementation")
| -rw-r--r-- | lib/libc/amd64/string/stpncpy.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/amd64/string/stpncpy.S b/lib/libc/amd64/string/stpncpy.S index df22bb9f0c53..764ee1d4008c 100644 --- a/lib/libc/amd64/string/stpncpy.S +++ b/lib/libc/amd64/string/stpncpy.S @@ -36,7 +36,9 @@ .set stpncpy, __stpncpy ARCHFUNCS(__stpncpy) ARCHFUNC(__stpncpy, scalar) +#if 0 /* temporarily disabled cf. PR 291720 */ ARCHFUNC(__stpncpy, baseline) +#endif ENDARCHFUNCS(__stpncpy) ARCHENTRY(__stpncpy, scalar) |
