diff options
author | ngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-07-01 17:32:21 +0000 |
---|---|---|
committer | ngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-07-01 17:32:21 +0000 |
commit | 61f2ee0d90e017e387c537bba6322075fbf4884c (patch) | |
tree | 5399340cfc19d43eb61f9c0cdeb254f49537766f /ChangeLog | |
parent | 6fee4909c8f58c83ae36a46857579cc5cd8c944f (diff) |
* string.c (str_fill_term): When termlen increases, re-allocation
of memory for termlen should always be needed.
In this fix, if possible, decrease capa instead of realloc.
[Bug #12536] [ruby-dev:49699]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,10 @@ +Sat Jul 2 02:22:22 2016 Naohisa Goto <ngotogenome@gmail.com> + + * string.c (str_fill_term): When termlen increases, re-allocation + of memory for termlen should always be needed. + In this fix, if possible, decrease capa instead of realloc. + [Bug #12536] [ruby-dev:49699] + Fri Jul 1 20:20:20 2016 Naohisa Goto <ngotogenome@gmail.com> * string.c: Specify termlen as far as possible. |