public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "paolo at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/31401] string find behaves strange when searching from npos Date: Fri, 30 Mar 2007 17:12:00 -0000 [thread overview] Message-ID: <20070330171146.18135.qmail@sourceware.org> (raw) In-Reply-To: <bug-31401-14338@http.gcc.gnu.org/bugzilla/> ------- Comment #3 from paolo at gcc dot gnu dot org 2007-03-30 18:11 ------- Subject: Bug 31401 Author: paolo Date: Fri Mar 30 18:11:22 2007 New Revision: 123362 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123362 Log: 2007-03-30 Paolo Carlini <pcarlini@suse.de> PR libstdc++/31401 * include/bits/basic_string.tcc (find(const _CharT*, size_type, size_type)): Avoid unsigned overflow. * testsuite/21_strings/basic_string/find/char/4.cc: New. * testsuite/21_strings/basic_string/find/wchar_t/4.cc: Likewise. Added: branches/gcc-4_2-branch/libstdc++-v3/testsuite/21_strings/basic_string/find/char/4.cc branches/gcc-4_2-branch/libstdc++-v3/testsuite/21_strings/basic_string/find/wchar_t/4.cc Modified: branches/gcc-4_2-branch/libstdc++-v3/ChangeLog branches/gcc-4_2-branch/libstdc++-v3/include/bits/basic_string.tcc -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31401
next prev parent reply other threads:[~2007-03-30 17:12 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-03-30 14:53 [Bug libstdc++/31401] New: " Ko dot vanderSloot at uvt dot nl 2007-03-30 16:26 ` [Bug libstdc++/31401] " pcarlini at suse dot de 2007-03-30 16:52 ` pcarlini at suse dot de 2007-03-30 17:11 ` paolo at gcc dot gnu dot org 2007-03-30 17:12 ` paolo at gcc dot gnu dot org [this message] 2007-03-30 17:13 ` pcarlini at suse dot de 2007-04-02 10:09 ` paolo at gcc dot gnu dot org 2007-04-02 10:09 ` paolo at gcc dot gnu dot org 2007-07-11 18:20 ` pcarlini at suse dot de
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20070330171146.18135.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).