* parse-packet.c (read_protected_v3_mpi): Make sure to stop
authorWerner Koch <wk@gnupg.org>
Mon, 15 Jan 2007 19:31:24 +0000 (19:31 +0000)
committerWerner Koch <wk@gnupg.org>
Mon, 15 Jan 2007 19:31:24 +0000 (19:31 +0000)
commit006c5af165171ccb3787e074b9e0e224ecaacb79
tree850ceb40dbc5596f10dcb4c762a74f5fc92ada1a
parent05277262bc2d4ebc42eb8ae76f5922010a36665a
* parse-packet.c (read_protected_v3_mpi): Make sure to stop
reading even for corrupted packets.
* keygen.c (generate_user_id): Need to allocate one byte more.
Reported by Felix von Leitner.
g10/ChangeLog
g10/keygen.c
g10/parse-packet.c