gpg: Ignore too large user ids during import.
authorWerner Koch <wk@gnupg.org>
Wed, 4 Jul 2018 07:53:10 +0000 (09:53 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 4 Jul 2018 07:58:05 +0000 (09:58 +0200)
commit01cd66f9faf1623833e6afac84164de5a136ecff
tree811f7f08c627fd3c440b315b2a2c01b13cd1a1e5
parent60e7e102a153a246d7e887a64e30dbb4c4f7b6dd
gpg: Ignore too large user ids during import.

* g10/import.c (read_block): Add special treatment for bad user ids
and comment packets.
--

See
GnuPG-bug-id: 4022
for an example of a bogus user id.

Signed-off-by: Werner Koch <wk@gnupg.org>
g10/import.c