Re: [Boost-bugs] [Boost C++ Libraries] #6160: support for (istream >> array < char >)

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6160: support for (istream >> array < char >)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-11-28 15:52:36


#6160: support for (istream >> array < char >)
------------------------------------+---------------------------------------
  Reporter: giecrilj@… | Owner: marshall
      Type: Feature Requests | Status: assigned
 Milestone: To Be Determined | Component: array
   Version: Boost 1.44.0 | Severity: Cosmetic
Resolution: | Keywords:
------------------------------------+---------------------------------------
Changes (by marshall):

  * status: new => assigned

Comment:

 I don't see the difference between:
 `istream >> char *` , `istream >> char []` and `istream >>
 boost::array<char>` in terms of buffer overflow prevention.

 It seems to me that in each case, it is the responsibility of the person
 providing the input to make sure that the input fits into the provided
 buffer.

 Am I missing something here?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6160#comment:3>
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:07 UTC