diff options
| author | NIIBE Yutaka <[email protected]> | 2017-10-19 02:08:24 +0000 |
|---|---|---|
| committer | NIIBE Yutaka <[email protected]> | 2017-10-19 02:08:24 +0000 |
| commit | 995c46ea77cff5b99b2fca17b547d6525a4f227e (patch) | |
| tree | 1e029ccd932ec76a1e835ea0e90c5801e6791980 /agent/command-ssh.c | |
| parent | gpg: Keep a lock during the read-update/insert cycle in import. (diff) | |
| download | gnupg-995c46ea77cff5b99b2fca17b547d6525a4f227e.tar.gz gnupg-995c46ea77cff5b99b2fca17b547d6525a4f227e.zip | |
g10: Fix find_and_check_key for multiple keyrings.
* g10/pkclist.c (find_and_check_key): Call get_validity on a specific
keyblock.
--
When we have multiple keyrings, get_validity after
get_best_pubkey_byname should access same keyring. Or else, the
situation of an expired key in keyring A but valid key in keyring B
causes SEGV.
Thanks to Guido Günther for the use case and the log.
Debian-bug-id: 878812
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'agent/command-ssh.c')
0 files changed, 0 insertions, 0 deletions
