public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/12791] New: _M_extract_num returns a wrong __beg in case of error
@ 2003-10-27 17:22 paolo at gcc dot gnu dot org
  2003-10-27 17:28 ` [Bug libstdc++/12791] " paolo at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: paolo at gcc dot gnu dot org @ 2003-10-27 17:22 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12791

           Summary: _M_extract_num returns a wrong __beg in case of error
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libstdc++
        AssignedTo: paolo at gcc dot gnu dot org
        ReportedBy: paolo at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: Any

It looks like time_get::_M_extract_num don't do the right thing wrt the final
value of __beg in case of error: the standard mandates that in case of error the
returned iterator points immediately beyond the last _character_ consumed as
part of a valid date value, but _M_extract_num checks only that the single chars
are digits and increments __beg, checking only _at the end_ the complete number vs 
__min and __max!


^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <20031027172158.12791.pcarlini@suse.de>]

end of thread, other threads:[~2004-08-01 16:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-27 17:22 [Bug libstdc++/12791] New: _M_extract_num returns a wrong __beg in case of error paolo at gcc dot gnu dot org
2003-10-27 17:28 ` [Bug libstdc++/12791] " paolo at gcc dot gnu dot org
2003-11-28 11:43 ` paolo at gcc dot gnu dot org
2003-12-03  9:17 ` cvs-commit at gcc dot gnu dot org
2003-12-03  9:18 ` cvs-commit at gcc dot gnu dot org
2003-12-03  9:20 ` paolo at gcc dot gnu dot org
2003-12-03  9:26 ` cvs-commit at gcc dot gnu dot org
2003-12-04  9:40 ` paolo at gcc dot gnu dot org
     [not found] <20031027172158.12791.pcarlini@suse.de>
2004-08-01 16:50 ` cvs-commit at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).