Home GnuPG
Diffusion GnuPG 958e5f292fa3

gpg: Avoid NULL-deref in default key listing.
958e5f292fa3Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

gpg: Avoid NULL-deref in default key listing.

* g10/keyid.c (hash_public_key): Take care of NULL keys.
* g10/misc.c (pubkey_nbits): Ditto.

This problem was mainly due to our ECC code while checking for opaque
MPIs with the curve name.

Details

Provenance
wernerAuthored on Jun 2 2014, 7:51 PM
Parents
rGf3249b1c4d0f: gpg: Simplify default key listing.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG958e5f292fa3: gpg: Avoid NULL-deref in default key listing. (authored by Werner Koch <wk@gnupg.org>).Jun 2 2014, 7:54 PM