• 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
..
README.rst Loading commit data...
vfil.c Loading commit data...
vfil.h Loading commit data...
vsub.c Loading commit data...
vsub.h Loading commit data...