On Fri, Dec 13, 2019, 9:31 AM Peter Stephenson
wrote:
>
> If you're using the current git source, exec.c line 4673 has a call to
> fgetc(), which is indeed outside where signals are queued. ... The fix
> might be
> not to fdopen() the input file, but just read into a buffer with
> read().
>
Yeah, calling stdio routines with signals unblocked is not safe. We should
be doing explicit memory management here.
>