[ruby-core:125821] [Ruby Bug#22127] parse.y regexp crash on invalid encoding
Issue #22127 has been reported by kddnewton (Kevin Newton). ---------------------------------------- Bug #22127: parse.y regexp crash on invalid encoding https://bugs.ruby-lang.org/issues/22127 * Author: kddnewton (Kevin Newton) * Status: Open * Backport: 3.3: UNKNOWN, 3.4: UNKNOWN, 4.0: UNKNOWN ---------------------------------------- ``` ./ruby --parser=parse.y -e '/#{"\xcd"}/' ``` results in a segfault -- https://bugs.ruby-lang.org/
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/
Issue #22127 has been updated by k0kubun (Takashi Kokubun). Backport changed from 3.3: DONTNEED, 3.4: DONTNEED, 4.0: REQUIRED to 3.3: DONTNEED, 3.4: DONTNEED, 4.0: DONE ruby_4_0 commit:d6e6d3e9a7596406a98197668ad61ec6bfe33e57 merged revision(s) commit:66ec908b84a998d67e6134b59062130824f71d85, commit:d6e6d3e9a7596406a98197668ad61ec6bfe33e57. ---------------------------------------- Bug #22127: parse.y regexp crash on invalid encoding https://bugs.ruby-lang.org/issues/22127#change-117976 * Author: kddnewton (Kevin Newton) * Status: Closed * Backport: 3.3: DONTNEED, 3.4: DONTNEED, 4.0: DONE ---------------------------------------- ``` ./ruby --parser=parse.y -e '/#{"\xcd"}/' ``` results in a segfault -- https://bugs.ruby-lang.org/
participants (3)
-
k0kubun (Takashi Kokubun) -
kddnewton (Kevin Newton) -
rwstauner (Randy Stauner)