This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/26458] Passing a NULL char* into output stream now breaks the output stream



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]