Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9216: format_date_parser::parse_date reads off end of format_str if it ends with a %
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-10-10 15:21:10
#9216: format_date_parser::parse_date reads off end of format_str if it ends with
a %
-----------------------------------+-----------------------
Reporter: Roger Orr <rogero@â¦> | Owner: marshall
Type: Bugs | Status: assigned
Milestone: To Be Determined | Component: date_time
Version: Boost 1.54.0 | Severity: Problem
Resolution: | Keywords:
-----------------------------------+-----------------------
Comment (by Roger Orr <rogero@â¦>):
Thanks Marshall,
I can confirm that making the code change fixes the specific problem. (I
had hoped to have time to post a solution myself, but...)
However, I note that the same code pattern appears ''elsewhere'' in this
header - in the
* {{{parse_month}}}
* {{{parse_weekday}}}
* and {{{parse_year}}}
methods in this header file; and also in time_facet.hpp in two of the
implementations of {{{time_input_facet::get}}}.
The same fix needs to be applied to these places too.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9216#comment:4> 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:14 UTC