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++/81395] [5/6/7/8 Regression] basic_filebuf::overflow recurses and overflows stack


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

--- Comment #10 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Yes, I agree with your analysis, something seems wrong. I suspsect going to a
normal uncommitted mode, thus not setting _M_reading would largely work, but I
fear performance implications, etc. I would strongly recommend analyzing next
what can wrong if _M_reading remains false after that (a) reading operation...

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