diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-06 10:42:10 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-06 10:42:10 +0000 |
commit | 6a5cdfacbf2577e86a84555b24ba2cbc03bfa394 (patch) | |
tree | 3a7e6f279118f2548050c4fb2c89f07c6f11c7d2 /ChangeLog | |
parent | 8d004969118b06d0057841f2e89ddfd0807ad765 (diff) | |
download | ruby-6a5cdfacbf2577e86a84555b24ba2cbc03bfa394.tar.gz |
* re.c (unescape_nonascii): cast -1 for the case char is unsigned char.
If char is signed char, for example gcc for ARM or ppc64, it caused
infinite loop.
http://kmuto.jp/build-ruby/arm/ruby-trunk/log/20141106T013005Z.fail.html.gz
http://rubyci.blob.core.windows.net/f19p8/ruby-trunk/log/20141106T090217Z.fail.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,11 @@ +Thu Nov 6 19:27:34 2014 NARUSE, Yui <naruse@ruby-lang.org> + + * re.c (unescape_nonascii): cast -1 for the case char is unsigned char. + If char is signed char, for example gcc for ARM or ppc64, it caused + infinite loop. + http://kmuto.jp/build-ruby/arm/ruby-trunk/log/20141106T013005Z.fail.html.gz + http://rubyci.blob.core.windows.net/f19p8/ruby-trunk/log/20141106T090217Z.fail.html.gz + Thu Nov 6 09:53:18 2014 Eric Wong <e@80x24.org> * lib/uri/rfc2396_parser.rb (initialize): reduce bytecode size |