[ruby-cvs:69720] naruse:r62539 (ruby_2_5): merge revision(s) 61862: [Backport #14368]

naruse at ruby-lang.org naruse at ruby-lang.org
Fri Feb 23 07:04:35 JST 2018


naruse	2018-02-23 07:04:35 +0900 (Fri, 23 Feb 2018)

  New Revision: 62539

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62539

  Log:
    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.

  Modified directories:
    branches/ruby_2_5/
  Modified files:
    branches/ruby_2_5/parse.y
    branches/ruby_2_5/test/ruby/test_mixed_unicode_escapes.rb
    branches/ruby_2_5/version.h


More information about the ruby-cvs mailing list