diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-12-01 19:43:10 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-12-01 19:43:10 +0000 |
commit | 4d63c8503100b3683ea4eee14a39bbdee3d04c20 (patch) | |
tree | 4f92440094be7823043b284f2c1adebee2c05c4e /ChangeLog | |
parent | 11dc42c20ca3cf3be6003fa303eb5649c00ab411 (diff) | |
download | ruby-4d63c8503100b3683ea4eee14a39bbdee3d04c20.tar.gz |
re.c: check if onig_region_copy failed
* re.c (CHECK_REGION_COPIED): onig_region_copy() can fail when
memory exhausted but returns nothing, so check by if allocated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Tue Dec 2 04:43:08 2014 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * re.c (CHECK_REGION_COPIED): onig_region_copy() can fail when + memory exhausted but returns nothing, so check by if allocated. + Tue Dec 2 02:53:00 2014 Nobuyoshi Nakada <nobu@ruby-lang.org> * parse.y (magic_comment_encoding): enable in ripper, since the |