Santiago Torres
d281b45d75
builtin/verify-tag.c: ignore SIGPIPE in gpg-interface
...
The verify_signed_buffer() function may trigger a SIGPIPE when the
GPG child process terminates early (due to a bad keyid, for example)
and Git tries to write to it afterwards. Previously, ignoring
SIGPIPE was done in builtin/verify-tag.c to avoid this issue.
However, any other caller who wants to call verify_signed_buffer()
would have to do the same.
Use sigchain_push(SIGPIPE, SIG_IGN) in verify_signed_buffer(),
pretty much like in sign_buffer(), so that any caller is not
required to perform this task.
This will avoid possible mistakes by further developers using
verify_signed_buffer().
Signed-off-by: Santiago Torres <santiago@nyu.edu >
Reviewed-by: Eric Sunshine <sunshine@sunshineco.com >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2016-04-06 09:02:02 -07:00
..
2015-11-05 12:18:12 -08:00
2016-02-24 13:26:01 -08:00
2016-02-26 13:37:16 -08:00
2016-02-26 13:37:16 -08:00
2016-02-22 10:23:55 -08:00
2016-01-15 10:35:06 -08:00
2016-02-01 13:43:02 -08:00
2016-02-01 13:43:02 -08:00
2016-01-15 10:12:51 -08:00
2016-02-22 14:51:09 -08:00
2016-02-01 13:43:49 -08:00
2016-02-29 14:27:58 -08:00
2016-02-26 13:37:16 -08:00
2016-02-29 14:27:58 -08:00
2016-01-15 10:35:07 -08:00
2015-11-20 08:02:05 -05:00
2016-02-05 14:54:11 -08:00
2016-02-26 13:37:26 -08:00
2015-08-17 09:14:59 -07:00
2015-11-20 08:02:05 -05:00
2015-11-20 08:02:05 -05:00
2016-02-05 14:54:15 -08:00
2016-02-22 14:51:09 -08:00
2016-02-26 13:37:16 -08:00
2016-02-26 13:37:16 -08:00
2015-12-11 11:14:13 -08:00
2015-09-17 10:02:49 -07:00
2015-11-20 08:02:05 -05:00
2015-12-04 11:33:08 -08:00
2015-10-16 15:27:52 -07:00
2016-02-26 13:37:16 -08:00
2016-02-10 14:20:08 -08:00
2016-02-22 14:51:09 -08:00
2016-03-04 13:45:47 -08:00
2016-02-22 10:23:55 -08:00
2016-01-14 12:22:17 -08:00
2016-01-13 10:55:01 -08:00
2016-02-10 14:20:08 -08:00
2016-01-19 10:07:56 -08:00
2015-09-25 10:18:18 -07:00
2015-10-21 15:59:34 -07:00
2015-09-25 10:18:18 -07:00
2016-02-22 14:51:09 -08:00
2015-11-03 15:32:41 -08:00
2015-10-05 11:08:05 -07:00
2015-09-25 10:18:18 -07:00
2016-02-22 14:51:09 -08:00
2016-02-22 14:51:09 -08:00
2015-10-16 15:27:52 -07:00
2016-02-26 13:37:16 -08:00
2016-02-22 14:51:09 -08:00
2015-11-20 08:02:05 -05:00
2016-02-03 14:15:59 -08:00
2016-02-26 13:37:16 -08:00
2016-02-22 14:51:09 -08:00
2015-10-16 15:27:52 -07:00
2015-11-03 15:32:25 -08:00
2016-01-28 16:10:14 -08:00
2016-02-26 13:37:25 -08:00
2015-09-25 10:18:18 -07:00
2016-02-22 14:51:09 -08:00
2016-02-22 14:51:09 -08:00
2016-02-22 14:50:32 -08:00
2016-02-26 13:37:19 -08:00
2016-01-15 10:12:51 -08:00
2015-11-20 08:02:05 -05:00
2015-10-05 13:20:08 -07:00
2015-11-20 08:02:05 -05:00
2016-02-12 12:51:17 -08:00
2016-02-24 13:25:53 -08:00
2016-02-22 13:10:21 -08:00
2016-01-15 10:35:07 -08:00
2016-01-28 16:10:14 -08:00
2015-12-11 11:14:14 -08:00
2015-11-20 08:02:07 -05:00
2016-01-29 16:02:34 -08:00
2016-03-22 19:26:43 -07:00
2015-12-21 12:03:03 -08:00
2016-01-26 13:34:10 -08:00
2015-09-25 10:18:18 -07:00
2015-11-20 08:02:05 -05:00
2016-02-10 14:20:08 -08:00
2015-09-11 09:50:02 -07:00
2015-09-25 10:18:18 -07:00
2016-04-06 09:02:02 -07:00
2016-02-26 13:37:16 -08:00