This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/47921] pbump will overflow when input n is larger than 2G-1
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 28 Feb 2011 14:11:54 +0000
- Subject: [Bug libstdc++/47921] pbump will overflow when input n is larger than 2G-1
- Auto-submitted: auto-generated
- References: <bug-47921-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47921
--- Comment #7 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-02-28 14:11:39 UTC ---
Actually, fixing strstream too is easy, because it derives from
basic_streambuf<char>, which can be assumed to have __safe_pbump