]> git.ipfire.org Git - thirdparty/gcc.git/commit
Avoid collect2 calling signal unsafe functions and/or unlink with uninitialized memory
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Mon, 17 Feb 2020 16:40:07 +0000 (17:40 +0100)
committerBernd Edlinger <bernd.edlinger@hotmail.de>
Mon, 24 Feb 2020 13:43:06 +0000 (14:43 +0100)
commit8389fcc4c1253fe11fd310284dcf31ac6c02a749
treee1a5f0d100d9af5e10182fe37f68b5cd8b2587e4
parent066184a282b622ac6880150eb4e42fe57881b606
Avoid collect2 calling signal unsafe functions and/or unlink with uninitialized memory

2020-02-24  Bernd Edlinger  <bernd.edlinger@hotmail.de>

* collect2.c (tool_cleanup): Avoid calling not signal-safe
functions.
(maybe_run_lto_and_relink): Avoid possible signal handler
access to unintialzed memory (lto_o_files).
gcc/ChangeLog
gcc/collect2.c