Project

General

Profile

Actions

Bug #22127

closed

parse.y regexp crash on invalid encoding

Bug #22127: parse.y regexp crash on invalid encoding

Added by kddnewton (Kevin Newton) 22 days ago. Updated 6 days ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:125821]

Description

./ruby --parser=parse.y -e '/#{"\xcd"}/'

results in a segfault

Updated by nobu (Nobuyoshi Nakada) 21 days ago Actions #1

  • Status changed from Open to Closed

Applied in changeset git|66ec908b84a99e512647a9dd61ac3451869e2a12.


[Bug #22127] Check the dynamic regexp compilation results

Updated by nobu (Nobuyoshi Nakada) 21 days ago Actions #2

  • Backport changed from 3.3: UNKNOWN, 3.4: UNKNOWN, 4.0: UNKNOWN to 3.3: DONTNEED, 3.4: DONTNEED, 4.0: REQUIRED

Updated by rwstauner (Randy Stauner) 19 days ago ยท Edited Actions #3 [ruby-core:125850]

Backport PR for 4.0 opened: https://github.com/ruby/ruby/pull/17510

Updated by k0kubun (Takashi Kokubun) 6 days ago Actions #4 [ruby-core:125998]

  • 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.

Actions

Also available in: PDF Atom