a9fc176e82
If a fork() is done later in order to feed a 'here' document into a pipe then it is possible that one end of the pipe might get closed.