summaryrefslogtreecommitdiffstats
path: root/kbx
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2012-12-20 09:43:41 +0100
committerWerner Koch <wk@gnupg.org>2012-12-20 12:37:01 +0100
commitf0b33b6fb8e0586e9584a7a409dcc31263776a67 (patch)
treef7c503424759dcf7699a80f2556e71b94497b15b /kbx
parentgpg: Make commit 2b3cb2ee actually work (diff)
downloadgnupg2-f0b33b6fb8e0586e9584a7a409dcc31263776a67.tar.xz
gnupg2-f0b33b6fb8e0586e9584a7a409dcc31263776a67.zip
gpg: Import only packets which are allowed in a keyblock.
* g10/import.c (valid_keyblock_packet): New. (read_block): Store only valid packets. -- A corrupted key, which for example included a mangled public key encrypted packet, used to corrupt the keyring. This change skips all packets which are not allowed in a keyblock. GnuPG-bug-id: 1455 (cherry-picked from commit f795a0d59e197455f8723c300eebf59e09853efa)
Diffstat (limited to 'kbx')
0 files changed, 0 insertions, 0 deletions