Re: [Boost-bugs] [Boost C++ Libraries] #1481: transform_width may cause buffer overruns

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1481: transform_width may cause buffer overruns
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-12-03 11:00:52


#1481: transform_width may cause buffer overruns
-------------------------------+--------------------------------------------
  Reporter: anonymous | Owner: ramey
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: serialization
   Version: release 1.34.0 | Severity: Problem
Resolution: wontfix | Keywords:
-------------------------------+--------------------------------------------
Comment (by anonymous):

 Replying to [comment:4 ramey]:

> I'll look into making std::copy fail at compile time. If you're
 interested, feeel free to send me a suggested patch. In the mean time,
 please don't reopen this ticket. I'm trying to get them cleared and I
 can't shovel against the tide.

 Well, you could put a static assert in "equal" method to stop it being
 ever used with this iterator. This makes sense as comparing these
 iterators is inherently unsafe (as it allows comparing with end)

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1481#comment:5>
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:49:57 UTC