[Bug libstdc++/31401] string find behaves strange when searching from npos
paolo at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Apr 2 10:09:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list