From: "rwstauner (Randy Stauner) via ruby-core" Date: 2026-06-26T20:18:01+00:00 Subject: [ruby-core:125850] [Ruby Bug#22127] parse.y regexp crash on invalid encoding Issue #22127 has been updated by rwstauner (Randy Stauner). Backport PR opened: https://github.com/ruby/ruby/pull/17510 ---------------------------------------- Bug #22127: parse.y regexp crash on invalid encoding https://bugs.ruby-lang.org/issues/22127#change-117771 * Author: kddnewton (Kevin Newton) * Status: Closed * Backport: 3.3: DONTNEED, 3.4: DONTNEED, 4.0: REQUIRED ---------------------------------------- ``` ./ruby --parser=parse.y -e '/#{"\xcd"}/' ``` results in a segfault -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/