[ruby-cvs:49862] drbrain:r42720 (trunk): * ext/zlib/zlib.c (zstream_run): Fix handling of deflate streams that

drbrain at ruby-lang.org drbrain at ruby-lang.org
Thu Aug 29 05:36:22 JST 2013


drbrain	2013-08-29 05:36:21 +0900 (Thu, 29 Aug 2013)

  New Revision: 42720

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42720

  Log:
    * 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.

  Modified files:
    trunk/ChangeLog
    trunk/ext/zlib/zlib.c
    trunk/test/zlib/test_zlib.rb


More information about the ruby-cvs mailing list