This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/31401] string find behaves strange when searching from npos
- From: "paolo at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Apr 2007 10:09:23 -0000
- Subject: [Bug libstdc++/31401] string find behaves strange when searching from npos
- References: <bug-31401-14338@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from paolo at gcc dot gnu dot org 2007-04-02 11:09 -------
Subject: Bug 31401
Author: paolo
Date: Mon Apr 2 11:09:07 2007
New Revision: 123423
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123423
Log:
2007-04-02 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/31401 (vstring bits)
* include/ext/vstring.tcc (find(const _CharT*, size_type,
size_type)): Avoid unsigned overflow.
Modified:
branches/gcc-4_2-branch/libstdc++-v3/ChangeLog
branches/gcc-4_2-branch/libstdc++-v3/include/ext/vstring.tcc
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31401