Skip to content

Conversation

@amykhuang
Copy link
Collaborator

Reverts #144163 because for some reason I didn't realize there are ASan tests.

@amykhuang amykhuang merged commit ca38027 into main Jun 13, 2025
12 of 14 checks passed
@amykhuang amykhuang deleted the revert-144163-unsafe-strlen-default branch June 13, 2025 22:30
@llvmbot llvmbot added the libc label Jun 13, 2025
@llvmbot
Copy link
Member

llvmbot commented Jun 13, 2025

@llvm/pr-subscribers-libc

Author: Amy Huang (amykhuang)

Changes

Reverts llvm/llvm-project#144163 because for some reason I didn't realize there are ASan tests.


Full diff: https://github.com/llvm/llvm-project/pull/144167.diff

1 Files Affected:

  • (modified) libc/config/config.json (+1-1)
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": {

tomtor pushed a commit to tomtor/llvm-project that referenced this pull request Jun 14, 2025
…44167)

Reverts llvm#144163 because for some reason I didn't
realize there are ASan tests.
akuhlens pushed a commit to akuhlens/llvm-project that referenced this pull request Jun 24, 2025
…44167)

Reverts llvm#144163 because for some reason I didn't
realize there are ASan tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants