https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118099

Daniel Grunwald <daniel.grunwald at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |daniel.grunwald at gmail dot 
com

--- Comment #1 from Daniel Grunwald <daniel.grunwald at gmail dot com> ---
Confirmed with libstdc++ 16.1.0: this issue is segfaulting our program that is
directly using repeated calls to `sputc()` without checking the return code.

I do not see any requirement in the standard that the stream must be in a valid
state for the `sputc()` call, so I think this is a library bug.

Reply via email to