diff options
author | Neal H. Walfield <neal@g10code.com> | 2015-11-06 12:31:16 +0100 |
---|---|---|
committer | Neal H. Walfield <neal@g10code.com> | 2015-11-06 12:31:16 +0100 |
commit | f99830b72812395da5451152bdd2f2d90a7cb7fb (patch) | |
tree | f22d6bfe30bf584b20354f1815988b862378d3ac /doc | |
parent | gpg: Check for ambiguous or non-matching key specs. (diff) | |
download | gnupg2-f99830b72812395da5451152bdd2f2d90a7cb7fb.tar.xz gnupg2-f99830b72812395da5451152bdd2f2d90a7cb7fb.zip |
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: 1206
Debian-bug-id: 575084
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions