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) 13 days ago. Updated 10 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) 12 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) 12 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) 10 days ago ยท Edited Actions #3 [ruby-core:125850]

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

Actions

Also available in: PDF Atom