gpg: Stop early on bogus old style comment packets.
authorWerner Koch <wk@gnupg.org>
Thu, 11 Sep 2014 14:40:45 +0000 (16:40 +0200)
committerWerner Koch <wk@gnupg.org>
Thu, 11 Sep 2014 14:40:45 +0000 (16:40 +0200)
commit3d250d21d36e8a0935b645f1ed5134ef9083530e
tree8dbac0fbb7a5b914cd97b0bb0a53830aa3e9cdcd
parent84419f42da0fd436a9e0e669730157e74ce38b77
gpg: Stop early on bogus old style comment packets.

* g10/parse-packet.c (parse_key): Take care of too short packets for
old style commet packets.
--

GnuPG-bug-id: 1714
g10/parse-packet.c