[Bug other/83150] GCC's internal use of `abort`is unsafe in several ways

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Nov 25 02:58:00 GMT 2017


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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>2. if the real `abort` is used, GCC installs a signal handler, which calls async-signal-unsafe functions, such as malloc.


The signal handler will always be sync unless someone decides to do a kill from
the command line.


More information about the Gcc-bugs mailing list