ruby/test/zlib
nahi 91d6e312f5 * backport r33023 from trunk.
* 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/branches/ruby_1_9_3@33025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-23 06:16:16 +00:00
..
test_zlib.rb * backport r33023 from trunk. 2011-08-23 06:16:16 +00:00