mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
gpg: Avoid uninitialized revkey.fprlen.
* g10/keygen.c (parse_revocation_key): Store the fingerprint length in created structure. -- GnuPG-bug-id: 5393 Signed-off-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
parent
ae3d0bb8e7
commit
d24c5df52b
@ -4003,6 +4003,8 @@ parse_revocation_key (const char *fname,
|
||||
if (i != 20 && i != 32)
|
||||
goto fail;
|
||||
|
||||
revkey.fprlen = i;
|
||||
|
||||
/* skip to the tag */
|
||||
while(*pn && *pn!='s' && *pn!='S')
|
||||
pn++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user