diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-13 09:33:40 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-13 09:33:40 +0000 |
commit | 1273ccbd0ac3a7740d9b75a461935456c4bb2995 (patch) | |
tree | 440ede7e1c0b7220160995858d84112dbe578844 /ChangeLog | |
parent | 60ca258a824c1d4b6a2a40ab91d9e1286914ebf3 (diff) | |
download | ruby-1273ccbd0ac3a7740d9b75a461935456c4bb2995.tar.gz |
pack.c: check index range
* pack.c (pack_pack): always check index range against the
receiver array length, which can be shortened by elements
conversion. reported by Marcin 'Icewall' Noga of Cisco Talos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,9 @@ +Sun Dec 13 18:33:41 2015 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * pack.c (pack_pack): always check index range against the + receiver array length, which can be shortened by elements + conversion. reported by Marcin 'Icewall' Noga of Cisco Talos. + Sun Dec 13 18:28:52 2015 Nobuyoshi Nakada <nobu@ruby-lang.org> * ext/psych/psych_emitter.c (start_document): should not exceed |