This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/48257] std::string::assign() corrupts std::string static data when called on emptyString1 using emptyString2.data()
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Mar 2011 09:29:33 -0000
- Subject: [Bug libstdc++/48257] std::string::assign() corrupts std::string static data when called on emptyString1 using emptyString2.data()
- Auto-submitted: auto-generated
- References: <bug-48257-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48257
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-03-24 09:29:28 UTC ---
Also, GCC 4.1.2 is ancient and not supported here, you should either report
bugs to the vendor of your version (Red Hat) or refer to a supported version.
As for being disrespectful, the bug was invalid and I know that for a fact,
which is why I didn't wait for you to agree. You don't need to reopen the bug
in order to post a new comment if you'd like pointers to the relevant pieces of
the standard or the code.