Re: [Boost-bugs] [Boost C++ Libraries] #4704: Support for multicapture and balancing groups

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4704: Support for multicapture and balancing groups
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-10-07 00:46:35


#4704: Support for multicapture and balancing groups
--------------------------------+-------------------------------------------
  Reporter: erik@… | Owner: eric_niebler
      Type: Feature Requests | Status: assigned
 Milestone: To Be Determined | Component: xpressive
   Version: Boost 1.44.0 | Severity: Not Applicable
Resolution: | Keywords: xpressive
--------------------------------+-------------------------------------------

Comment (by eric_niebler):

 In parser_traits.hpp:

 {{{
             case BOOST_XPR_CHAR_(char_type, 'P'):
                 this->eat_ws_(++begin, end);
                 BOOST_XPR_ENSURE_(begin != end, error_paren, "incomplete
 extension");
                 switch(*begin)
                 {
                 case BOOST_XPR_CHAR_(char_type, '<'):
                     this->eat_ws_(++begin, end);
                     switch (*begin)
                     ^^^^^^^^^^^^^^^
 Whoops! Doesn't check that begin != end before dereferencing begin!
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4704#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:04 UTC