diff options
author | rhe <rhe@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-09-01 08:16:38 +0000 |
---|---|---|
committer | rhe <rhe@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-09-01 08:16:38 +0000 |
commit | 7c0df97b88f44b935afaec0818f695af2fc332be (patch) | |
tree | 32f0d7685c7c133e362eebbba6e8b227ea3e41ad /class.c | |
parent | d4c7fd509872ae89a0594afaa95c4215247ff7dd (diff) | |
download | ruby-7c0df97b88f44b935afaec0818f695af2fc332be.tar.gz |
object.c: fix potential oob write in rb_str_to_dbl()
Ensure space for the terminating NUL byte. Note that this code path is
reachable only when Ruby is compiled with SHARABLE_MIDDLE_SUBSTRING=1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'class.c')
0 files changed, 0 insertions, 0 deletions