Project

General

Profile

« Previous | Next » 

Revision 42727

merge revision(s) 42720: [Backport #8829]

* ext/zlib/zlib.c (zstream_run):  Fix handling of deflate streams that
  need a dictionary but are being decompressed by Zlib::Inflate.inflate
  (which has no option to set a dictionary).  Now Zlib::NeedDict is
  raised instead of crashing.  [ruby-trunk - Bug #8829]

* test/zlib/test_zlib.rb (TestZlibInflate):  Test for the above.