[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 #5 from paolo at gcc dot gnu dot org 2007-04-02 11:09 -------
Subject: Bug 31401
Author: paolo
Date: Mon Apr 2 11:08:50 2007
New Revision: 123422
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123422
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:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/ext/vstring.tcc
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31401
More information about the Gcc-bugs
mailing list