From 4d63c8503100b3683ea4eee14a39bbdee3d04c20 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 1 Dec 2014 19:43:10 +0000 Subject: 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 --- ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 953dfb1486..7378c95cae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Dec 2 04:43:08 2014 Nobuyoshi Nakada + + * 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 * parse.y (magic_comment_encoding): enable in ripper, since the -- cgit v1.2.3