This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/26458] Passing a NULL char* into output stream now breaks the output stream
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Feb 2006 19:56:48 -0000
- Subject: [Bug libstdc++/26458] Passing a NULL char* into output stream now breaks the output stream
- References: <bug-26458-12260@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from pcarlini at suse dot de 2006-02-24 19:56 -------
(In reply to comment #2)
> Otherwise, there's great potential that the output stream (the data)
> will become corrupted, even if you manage to check it state.
By the way, there is no such thing as a "corrupted stream". Either the state is
good, or it isn't. If, for some reason, you fear it isn't better checking it.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26458