Ruby Core Updates: Memory Safety Sweep
A wave of low-level correctness fixes landed across Windows path handling, longjmp-related memory safety, and object allocation, alongside a major build-tooling replacement and a steady stream of documentation cleanup.
Duration: PT2M32S
Episode overview
This episode is a short developer briefing from Ruby Core Updates.
It explains recent repository work in plain language.
- Show: Ruby Core Updates
- Published: 2026-07-23T13:09:20Z
- Audio duration: PT2M32S
Transcript excerpt
This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.
Good evening. It's July 23rd, 2026, and this is Ruby Core Updates.
Today's biggest signal is a concentrated effort on memory safety and correctness at the C level, touching Windows internals, crash handling, and the interpreter's longjmp machinery.
Start with Windows. Hsbt landed three fixes in quick succession: PR 18028 closed a double-free and stack over-read in path handling, PR 18027 fixed a signed-comparison bug in drive-letter detection that could misroute paths like "4:foo," and PR 18026 fixed an off-by-one that was reading a string's null terminator…
Second theme: longjmp safety. Following up on a fiber-related bug fix, Shugo Maeda audited every setjmp-tag user in the VM and marked locals read after a longjmp as volatile, in PR 17931 and the related fiber pointer fix in PR 17926. The root cause: LLVM 17 and 19 have been observed to incorrectly rematerialize…
Related crash-handler hardening showed up too: PR 17988 fixed an assumption that execution context is always present, and PR 17989 disabled flaky macOS segfault-handler tests in CI rather than risk false confidence.
Third, tooling and allocation. Nobu's PR 18007 replaces the aging update-deps script with a new Ruby-based…
Nearby episodes from Ruby Core Updates
- The Great Documentation Correction
- Garbage Collector Cleanup and Build Chain Fixes
- JIT Correctness and a Same-Day Revert
- ZJIT's Speed Push and a Windows Cleanup Wave
- Paths, Quotes, and Longjmp Landmines
- Boot Time and the Struct Layout Trade-off
- Weekly Recap - JIT Maturity and Memory Safety
- Correctness Fixes Take Center Stage