diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-12 07:28:40 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-12 07:28:40 +0000 |
commit | 8b8cce322b3ddaa4d2449215224110e8367b1854 (patch) | |
tree | b38605c21163db9a1fc279a92643924fd4ef8cb8 /ChangeLog | |
parent | bc241235ac4d02638dfe56d2d87b8cb906400f9d (diff) | |
download | ruby-8b8cce322b3ddaa4d2449215224110e8367b1854.tar.gz |
encoding.c: refill terminator at associating encoding
* encoding.c (rb_enc_associate_index): refill the terminator if it
becomes longer than before. [ruby-dev:47500] [Bug #8624]
* string.c (str_null_char, str_fill_term): get rid of out of bound
access.
* string.c (rb_str_fill_terminator): add a parameter for the length of
new terminator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,14 @@ +Fri Jul 12 16:28:37 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * encoding.c (rb_enc_associate_index): refill the terminator if it + becomes longer than before. [ruby-dev:47500] [Bug #8624] + + * string.c (str_null_char, str_fill_term): get rid of out of bound + access. + + * string.c (rb_str_fill_terminator): add a parameter for the length of + new terminator. + Fri Jul 12 11:26:25 2013 Masaki Matsushita <glass.saga@gmail.com> * hash.c (rb_hash_reject_bang): do not call rb_hash_foreach() if RHash |