• Nils Goroll's avatar
    Close all file descriptors for the external program · ba3d530a
    Nils Goroll authored
    ... except for stdin, stdout and stderr.
    
    Besides the obvious security issue, this avoids an issue where output
    processing would hang with more than one pipe vdp:
    
    When we see a VDP_END, we close the external program's stdin. Yet before
    we closed all file descriptors, a second external progam would also hold
    the stdin pipe's write end open.
    ba3d530a
Name
Last commit
Last update
m4 Loading commit data...
src Loading commit data...
.gitignore Loading commit data...
CONTRIBUTING.rst Loading commit data...
COPYING Loading commit data...
INSTALL.rst Loading commit data...
LICENSE Loading commit data...
Makefile.am Loading commit data...
README.rst Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...