Project

General

Profile

Bug #14368

backport r61862 (Fix SEGV of `/#{"\u3042"}#{'い'}/` in non UTF-8)

Added by nagachika (Tomoyuki Chikanaga) almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-dev:50415]

Description

backport 管理用チケットです。

Associated revisions

Revision 61862
Added by mame (Yusuke Endoh) almost 2 years ago

parse.y (new_regexp): Fix SEGV of /#{"\u3042"}#{'い'}/ in non UTF-8

Mixing other encoding string literals in one Regexp caused SEGV.
This bug was found by CoverityScan.

Revision 86613d13
Added by naruse (Yui NARUSE) almost 2 years ago

merge revision(s) 61862: [Backport #14368]

    parse.y (new_regexp): Fix SEGV of `/#{"\u3042"}#{'?'}/` in non UTF-8

    Mixing other encoding string literals in one Regexp caused SEGV.
    This bug was found by CoverityScan.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@62539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 62539
Added by naruse (Yui NARUSE) almost 2 years ago

merge revision(s) 61862: [Backport #14368]

parse.y (new_regexp): Fix SEGV of `/#{"\u3042"}#{'?'}/` in non UTF-8

Mixing other encoding string literals in one Regexp caused SEGV.
This bug was found by CoverityScan.

Revision 31ccc99d
Added by nagachika (Tomoyuki Chikanaga) over 1 year ago

merge revision(s) 61862: [Backport #14368]

    parse.y (new_regexp): Fix SEGV of `/#{"\u3042"}#{'{U+3044}'}/` in non UTF-8

    Mixing other encoding string literals in one Regexp caused SEGV.
    This bug was found by CoverityScan.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@62880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 62880
Added by nagachika (Tomoyuki Chikanaga) over 1 year ago

merge revision(s) 61862: [Backport #14368]

parse.y (new_regexp): Fix SEGV of `/#{"\u3042"}#{'{U+3044}'}/` in non UTF-8

Mixing other encoding string literals in one Regexp caused SEGV.
This bug was found by CoverityScan.

History

Updated by naruse (Yui NARUSE) almost 2 years ago

  • Backport changed from 2.3: REQUIRED, 2.4: REQUIRED, 2.5: REQUIRED to 2.3: REQUIRED, 2.4: REQUIRED, 2.5: DONE

ruby_2_5 r62539 merged revision(s) 61862.

Updated by nagachika (Tomoyuki Chikanaga) over 1 year ago

  • Backport changed from 2.3: REQUIRED, 2.4: REQUIRED, 2.5: DONE to 2.3: REQUIRED, 2.4: DONE, 2.5: DONE

ruby_2_4 r62880 merged revision(s) 61862.

Also available in: Atom PDF