This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/31401] string find behaves strange when searching from npos



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]