[llvm-branch-commits] [libc] 9a2e40b - Revert "Turn LIBC_COPT_STRING_UNSAFE_WIDE_READ on by default (#144163)"

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Jun 13 15:29:54 PDT 2025


Author: Amy Huang
Date: 2025-06-13T15:29:51-07:00
New Revision: 9a2e40b9eea4297631c2462a345d1cbc8d01f373

URL: https://github.com/llvm/llvm-project/commit/9a2e40b9eea4297631c2462a345d1cbc8d01f373
DIFF: https://github.com/llvm/llvm-project/commit/9a2e40b9eea4297631c2462a345d1cbc8d01f373.diff

LOG: Revert "Turn LIBC_COPT_STRING_UNSAFE_WIDE_READ on by default (#144163)"

This reverts commit a591bd222b2e0356b8132b515422fe480b87322b.

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 llvm-branch-commits mailing list