Home GnuPG
Diffusion GnuPG f99830b72812

common: When classifying keyids and fingerprints, reject trailing junk.
f99830b72812Unpublished

Unpublished Commit · Learn More

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

Description

common: When classifying keyids and fingerprints, reject trailing junk.

* common/userids.c (classify_user_id): Trim any trailing whitespace.
Before assuming that a hexstring corresponds to a key id or
fingerprint, make sure that it is NUL terminated.
  • Signed-off-by: Neal H. Walfield <neal@g10code.com>
  • GnuPG-bug-id: T1206
  • Debian-bug-id: #575084

Details

Provenance
Neal H. Walfield <neal@g10code.com>Authored on Nov 6 2015, 12:31 PM
Parents
rGe8c53fca954d: gpg: Check for ambiguous or non-matching key specs.
Branches
Unknown
Tags
Unknown