reasonable for it to take down the parent Git
process with SIGPIPE.
Even with such a helper, seeing this problem should be rare. Getting
SIGPIPE requires the helper racily exiting before we've written the
fairly small credential output.
Signed-off-by: Erik E Brady
---
credential.c | 3
credential.c, run_credential_helper(): now ignores SIGPIPE
when writing to credential helper. Avoids problem with race
where cred helper exits very quickly and, after, git tries
to write to it, generating SIGPIPE and crashing git. To
reproduce this the cred helper must not read from STDIN.
This
2 matches
Mail list logo