This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/48355] Assigning NULL to string segfaults
- 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: Wed, 30 Mar 2011 09:07:15 +0000
- Subject: [Bug libstdc++/48355] Assigning NULL to string segfaults
- Auto-submitted: auto-generated
- References: <bug-48355-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48355
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-03-30 09:07:01 UTC ---
duplicate of PR 5258 and PR 994
I'll look into checking when _GLIBCXX_DEBUG is defined but the default
(non-debug mode) behaviour is NOT going to change, your code has a bug, your
code should change not the standard library