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: "mohsinrzaidi at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Mar 2011 09:50:16 -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 #8 from Mohsin <mohsinrzaidi at gmail dot com> 2011-03-24 09:50:11 UTC ---
(In reply to comment #6)
> 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.
>
In my last comment, I did not post snippets to old code - I posted them off the
latest code.
> 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.
Agreed.