diff options
author | Werner Koch <[email protected]> | 2024-05-15 07:56:40 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2024-05-15 07:56:40 +0000 |
commit | b36e557c5b05ba21942f385c03988f138d57dfb9 (patch) | |
tree | 5907245f66f8e4b8922038c4f0a4a4028f0a6dce /kbx | |
parent | tpm2d: Use BYTE type to acces TPM2B object. (diff) | |
download | gnupg-b36e557c5b05ba21942f385c03988f138d57dfb9.tar.gz gnupg-b36e557c5b05ba21942f385c03988f138d57dfb9.zip |
gpg: Terminate key listing on output write error.
* g10/keylist.c (list_all): Handle error from list_keyblock.
(list_one): Ditto.
(locate_one): Ditto.
(list_keyblock): Detect write error, print, and return it.
(list_keyblock_direct): Return error from list_keyblock.
* g10/import.c (import_one_real): Break on listing error.
--
Test by using
gpg -k >/dev/full
GnuPG-bug-id: 6185
Diffstat (limited to 'kbx')
0 files changed, 0 insertions, 0 deletions