From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16402 invoked by alias); 2 Apr 2007 10:09:34 -0000 Received: (qmail 16278 invoked by alias); 2 Apr 2007 10:09:23 -0000 Date: Mon, 02 Apr 2007 10:09:00 -0000 Message-ID: <20070402100923.16277.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libstdc++/31401] string find behaves strange when searching from npos In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "paolo at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-04/txt/msg00059.txt.bz2 ------- 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 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