Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6994: gzip_decompressor issue with unusual files
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-06-18 08:49:06
#6994: gzip_decompressor issue with unusual files
----------------------------------------------------+-----------------------
Reporter: Gavin Band <gavinband@â¦> | Owner: turkanis
Type: Bugs | Status: new
Milestone: To Be Determined | Component: iostreams
Version: Boost 1.49.0 | Severity: Problem
Resolution: | Keywords: gzip gzip_decompressor
----------------------------------------------------+-----------------------
Comment (by Gavin Band <gavinband@â¦>):
I was able to fix this with this patch:
--- libs/iostreams/src/zlib.cpp 2012-06-18 09:45:42.000000000 +0100
+++ libs/iostreams/src/zlib.cpp.new 2012-06-18 09:45:23.000000000
+0100
@@ -150,7 +150,7 @@
(compress ? deflateEnd(s) : inflateEnd(s))
;
//);
- crc_imp_ = 0;
+ crc_ = crc_imp_ = 0;
}
void zlib_base::do_init
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6994#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:09 UTC