[Bug libstdc++/122674] Consider making std::basic_stacktrace memory safe

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 2 09:38:26 GMT 2026


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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2026-03-02
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
If a program uses std::stacktrace during termination then it should be as safe
as possible, to avoid attackers being able to trigger more UB when the program
is already in an abnormal state.


More information about the Gcc-bugs mailing list