[Bug libstdc++/88037] std::string pretty printer causes "virtual memory exhausted" when used on uninitialized data
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Nov 15 15:09:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88037
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-11-15
Ever confirmed|0 |1
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
We might want some user control to allow overriding the safety check. It's
possible somebody really wants to print the whole of their huge string (and has
the memory to make it work).
This seems related to Bug 59170 (although not exactly the same, as printing
strings automatically is desirable, unlike printing iterators).
More information about the Gcc-bugs
mailing list