diff options
author | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-23 02:36:13 +0000 |
---|---|---|
committer | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-23 02:36:13 +0000 |
commit | e3e985064a6b9d338edc86cf3e807345a26b64af (patch) | |
tree | f7d2e1640b7d7895a712fc4312cf5e60db48137d /ChangeLog | |
parent | 4ed4711361e771516e0088fc86c822bd4dd1ac76 (diff) |
* ext/zlib/zlib.c (gzfile_read_header): Ensure that each section of
gzip header is readable to avoid SEGV.
* test/zlib/test_zlib.rb (test_corrupted_header): Test it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33023 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 @@ +Tue Aug 23 11:27:26 2011 Hiroshi Nakamura <nahi@ruby-lang.org> + + * ext/zlib/zlib.c (gzfile_read_header): Ensure that each section of + gzip header is readable to avoid SEGV. + + * test/zlib/test_zlib.rb (test_corrupted_header): Test it. + Mon Aug 22 23:43:33 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com> * sprintf.c (rb_str_format): add RB_GC_GUARD to prevent temporary |