[libc-commits] [libc] Revert "Turn LIBC_COPT_STRING_UNSAFE_WIDE_READ on by default" (PR #144167)
Amy Huang via libc-commits
libc-commits at lists.llvm.org
Fri Jun 13 15:30:27 PDT 2025
https://github.com/amykhuang created https://github.com/llvm/llvm-project/pull/144167
Reverts llvm/llvm-project#144163 because for some reason I didn't realize there are ASan tests.
>From 9a2e40b9eea4297631c2462a345d1cbc8d01f373 Mon Sep 17 00:00:00 2001
From: Amy Huang <a.huang.011 at gmail.com>
Date: Fri, 13 Jun 2025 15:29:51 -0700
Subject: [PATCH] Revert "Turn LIBC_COPT_STRING_UNSAFE_WIDE_READ on by default
(#144163)"
This reverts commit a591bd222b2e0356b8132b515422fe480b87322b.
---
libc/config/config.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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