Boost C++ Libraries: Ticket #12326: boost::iostreams -- CRC error while decompressing certain gzip files https://svn.boost.org/trac10/ticket/12326 <p> Given a gzip file that was written in multiple parts using Z_FULL_FLUSH, and one of those parts is empty (zero length), boost::iostreams::gzip_decompressor expects an incorrect CRC and fails. </p> <p> See attached example file. The zcat utility decompresses this file just fine, but boost::iostreams::gzip_decompressor fails after "Line 6". </p> <p> I have provided a test case and a fix for this issue, in a github pull request: <a class="ext-link" href="https://github.com/boostorg/iostreams/pull/29"><span class="icon">​</span>https://github.com/boostorg/iostreams/pull/29</a> </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12326 Trac 1.4.3 joel.nordell@… Wed, 13 Jul 2016 14:09:15 GMT attachment set https://svn.boost.org/trac10/ticket/12326 https://svn.boost.org/trac10/ticket/12326 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">multipart.gz</span> </li> </ul> <p> example gzip file </p> Ticket