Re: [Boost-bugs] [Boost C++ Libraries] #12471: gzip compressor decompressor broken

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12471: gzip compressor decompressor broken
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-01-13 17:30:42


#12471: gzip compressor decompressor broken
-------------------------------+-------------------------------
  Reporter: anonymous | Owner: Jonathan Turkanis
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: iostreams
   Version: Boost 1.61.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+-------------------------------

Comment (by anonymous):

 While I don't like the code much, I did review most if not all of those
 case.
 boost::iostreams::write cannot return a value larger than amt, amt is
 header_.size() - offset_, and header_.size() is size_t, thus there is no
 issue in this case.
 Well, not correctness wise. The code is annoying/confusing and potentially
 triggers compiler warnings.
 So yes, a specific test case for reproducing any issue would be useful.

-- 
Ticket URL: <https://svn.boost.org/trac10/boost/ticket/12471#comment:2>
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 : 2018-01-13 17:35:47 UTC