General

Profile

rwstauner (Randy Stauner)

  • Login: rwstauner
  • Registered on: 05/14/2024
  • Last sign in: 08/27/2026

Issues

open closed Total
Assigned issues 0 1 1
Reported issues 2 6 8

Projects

Project Roles Registered on
Ruby Contributor 03/03/2025

Activity

09/28/2026

08:52 PM Ruby Bug #22387: str_shared_replace incorrectly recalculates termlen
Backport PR for 3.4: https://github.com/ruby/ruby/pull/19105 rwstauner (Randy Stauner)
08:44 PM Ruby Bug #22387: str_shared_replace incorrectly recalculates termlen
bakport for 4.0: https://github.com/ruby/ruby/pull/19104 rwstauner (Randy Stauner)
08:43 PM Ruby Bug #22387: str_shared_replace incorrectly recalculates termlen
PR for master: https://github.com/ruby/ruby/pull/19103 rwstauner (Randy Stauner)
08:42 PM Ruby Bug #22387 (Closed): str_shared_replace incorrectly recalculates termlen
This ruby snippet crashes under ASan with a heap-buffer-overflow
```ruby
s = ("\u{30AF}" * 7).encode("UTF-16LE").b
s.force_encoding("UTF-16LE")
s.encode!("UTF-8") # 21 bytes in a 22-byte malloc, capa now claims 22
s << "x" ...
rwstauner (Randy Stauner)

09/25/2026

03:14 AM Ruby Bug #22383: Fix inverted `STR_SHARED` check in `rb_str_tmp_frozen_release`
> With class Ractor alias join take end unless Ractor.method_defined?(:join), it reproduced on 3.3 an 3.4.
What reproduces?
I do have a few related fixes coming in another PR but this particular condition is still
else if (FL_...
rwstauner (Randy Stauner)
02:35 AM Ruby Bug #22383: Fix inverted `STR_SHARED` check in `rb_str_tmp_frozen_release`
4.0 Backport PR https://github.com/ruby/ruby/pull/19019 rwstauner (Randy Stauner)
02:32 AM Ruby Bug #22383: Fix inverted `STR_SHARED` check in `rb_str_tmp_frozen_release`
PR https://github.com/ruby/ruby/pull/19018 rwstauner (Randy Stauner)
02:29 AM Ruby Bug #22383 (Closed): Fix inverted `STR_SHARED` check in `rb_str_tmp_frozen_release`
https://github.com/ruby/ruby/commit/45a2c95d0f7184c9cd64ddd26699af31bea8675d#diff-430d86fdb6c4a558ab0f1b6648bbfae1720e8bde84f026e95a52740014752040R1914
mistakenly rewrote
FL_TEST_RAW(orig, STR_SHARED) && !FL_TEST_RAW(orig, STR_...
rwstauner (Randy Stauner)

09/22/2026

08:10 PM Ruby Bug #22375 (Open): `Time.new(String)` can disagree with itself about the date
`Time.new("2026-02-30T00:00:00Z")` returns a `Time` object that is internally inconsistent.
It shows as Feb 30 or Mar 2 depending on what methods are called:
```ruby
t = Time.new("2026-02-30T00:00:00Z") # => 2026-02-30 00:00:00 UTC
...
rwstauner (Randy Stauner)
05:20 PM Ruby Bug #22188: addr2line doesn't find symbols when compiled with GCC LTO
It might be worth noting for anyone that wants to try this, if you do LTO with fat LTO objects and a static build (as described at the top) this will make native extension compilation much slower.

You can speed this up by stripping t...
rwstauner (Randy Stauner)

Also available in: Atom