Two ARM64-specific compiler optimization bugs, in GCC 15/16 and Rust, hit curl
torutofu
51 points
7 comments
October 06, 2026
Related Discussions
Found 5 related stories in 151.4ms across 13,334 title embeddings via pgvector HNSW
- Actual Curl Rewrites in Rust sohkamyung · 13 pts · November 17, 2026 · 56% similar
- 11 year old unsoundness bugs found in Rust borrow checker formerly_proven · 705 pts · October 13, 2026 · 56% similar
- Scaling Memory Safety: AI-Assisted Rewrites of C/C++ Dependencies to Rust ndesaulniers · 12 pts · September 28, 2026 · 55% similar
- Scaling Memory Safety: AI-Assisted Rewrites of C/C++ Dependencies to Rust afdbcreid · 15 pts · August 24, 2026 · 55% similar
- One parser, two bugs, many routers: Exploiting Broadcom WiFi across eCos, Linux tosh · 14 pts · October 18, 2026 · 55% similar
Discussion Highlights (3 comments)
edoceo
The social post links to this bug https://github.com/curl/curl/issues/23237
vlovich123
Not actually confirmed as compiler bugs yet. Here’s a similar bug where OpenSSL’s inline asm was wrong and probably only GCC was smart enough to try to exploit the bug: https://github.com/openssl/openssl/pull/23233 Same for rust - could be UB in quiche that is getting exposed.
rurban
Looks like a valid new optimization to me, which only fails on valgrind, which is a bit too strict with uninitialized values. In openssl's strlcpy. They'll deal with that.