[Bug libstdc++/14975] [3.4 only] Segfault on low-level write error during imbue
peturr02 at ru dot is
gcc-bugzilla@gcc.gnu.org
Sat Apr 17 15:07:00 GMT 2004
------- Additional Comments From peturr02 at ru dot is 2004-04-17 14:49 -------
if (__testvalid)
_M_codecvt = _M_codecvt_tmp;
+ else
+ _M_codecvt = 0;
}
It would probably also be a good idea to somehow signal the error in
overflow (for example by throwing an exception).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14975
More information about the Gcc-bugs
mailing list