From e3e985064a6b9d338edc86cf3e807345a26b64af Mon Sep 17 00:00:00 2001 From: nahi Date: Tue, 23 Aug 2011 02:36:13 +0000 Subject: * 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 --- ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 0dfbbf091a..0f3a765413 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Tue Aug 23 11:27:26 2011 Hiroshi Nakamura + + * 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 * sprintf.c (rb_str_format): add RB_GC_GUARD to prevent temporary -- cgit v1.2.3