diff options
author | Paul Smith <psmith@gnu.org> | 2022-10-24 00:48:47 -0400 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2022-10-24 01:50:12 -0400 |
commit | d18a87d0a40f326d219c7dbabc50e824956f4497 (patch) | |
tree | 164e3ea4712d603c569ba63278e80cce262076df /NEWS | |
parent | 41c35f2ffe58a5b90b63256a199d674696f8a743 (diff) | |
download | make-git-d18a87d0a40f326d219c7dbabc50e824956f4497.tar.gz |
[SV 63260] Don't recurse forever if setup_tmpfile() fails
If we fail during setup_tmpfile() we'll try to write an error, which
will invoke setup_tmpfile() again, etc. Avoid infinite recursion.
Original patch by Dmitry Goncharov <dgoncharov@users.sf.net>
* src/output.c (setup_tmpfile): Remember we're in this function and
return immediately if we enter it during recursion.
(message): Remember the starting location and use that instead of
fmtbuf.buffer.
(error): Ditto.
(fatal): Ditto.
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions