[libc-commits] [libc] ca38027 - Revert "Turn LIBC_COPT_STRING_UNSAFE_WIDE_READ on by default" (#144167)
via libc-commits
libc-commits at lists.llvm.org
Fri Jun 13 15:30:31 PDT 2025
Author: Amy Huang
Date: 2025-06-13T15:30:28-07:00
New Revision: ca38027c036593ae487ccef250ebd5133803bb55
URL: https://github.com/llvm/llvm-project/commit/ca38027c036593ae487ccef250ebd5133803bb55
DIFF: https://github.com/llvm/llvm-project/commit/ca38027c036593ae487ccef250ebd5133803bb55.diff
LOG: Revert "Turn LIBC_COPT_STRING_UNSAFE_WIDE_READ on by default" (#144167)
Reverts llvm/llvm-project#144163 because for some reason I didn't
realize there are ASan tests.
Added:
Modified:
libc/config/config.json
Removed:
################################################################################
diff --git a/libc/config/config.json b/libc/config/config.json
index 0354b16997cdd..d53b2936edb07 100644
--- a/libc/config/config.json
+++ b/libc/config/config.json
@@ -59,7 +59,7 @@
},
"string": {
"LIBC_CONF_STRING_UNSAFE_WIDE_READ": {
- "value": true,
+ "value": false,
"doc": "Read more than a byte at a time to perform byte-string operations like strlen."
},
"LIBC_CONF_MEMSET_X86_USE_SOFTWARE_PREFETCHING": {
More information about the libc-commits
mailing list