Re: [Boost-bugs] [Boost C++ Libraries] #5629: base64 encode/decode for std::istreambuf_iterator/std::ostreambuf_iterator

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5629: base64 encode/decode for std::istreambuf_iterator/std::ostreambuf_iterator
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-04-10 17:01:00


#5629: base64 encode/decode for std::istreambuf_iterator/std::ostreambuf_iterator
--------------------------------+-------------------------------------------
  Reporter: nen777w@… | Owner: ramey
      Type: Bugs | Status: assigned
 Milestone: To Be Determined | Component: serialization
   Version: Boost 1.45.0 | Severity: Problem
Resolution: | Keywords:
--------------------------------+-------------------------------------------

Comment (by anonymous):

 Replying to [comment:8 anonymous]:
> Already fixed?

 Not entirely. Although a fix was put into boost 1.53 so that '='
 characters will not cause the decoder to crash, it still doesn't treat
 them as padding. The fix will cause the decoder to add nulls to the end of
 the decoded value, which is probably not what you want. Granted, you
 should be able to figure out the right thing to to given the number of '='
 characters on the end of the encoded stream, but you shouldn't have to.

 Also, the encoder still won't produce a padded encoding.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5629#comment:9>
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:12 UTC