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 /string.c | |
parent | 11dc42c20ca3cf3be6003fa303eb5649c00ab411 (diff) |
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 'string.c')
0 files changed, 0 insertions, 0 deletions