diff options
author | Werner Koch <[email protected]> | 2015-11-13 11:56:13 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2015-11-13 11:57:54 +0000 |
commit | 7e59fb21f728b5f54468cd35b1415a2f86003d4f (patch) | |
tree | 9a305d27e085c2eac7dcdc9eb3889bc702dd7068 /dirmngr/ks-engine-ldap.c | |
parent | gpg: Print a new EXPORTED status line. (diff) | |
download | gnupg-7e59fb21f728b5f54468cd35b1415a2f86003d4f.tar.gz gnupg-7e59fb21f728b5f54468cd35b1415a2f86003d4f.zip |
gpg: Fix regression in --locate-keys (in 2.1.9).
* g10/getkey.c (getkey_ctx_s): Add field "extra_list".
(get_pubkey_byname): Store strings in the context.
(getkey_end): Free EXTRA_LIST.
--
This fixes a use-after-free bug. It showed up with:
gpg --auto-key-locate local --locate-key [email protected]
The key was shown but also all other following keys in the keyring.
Bisecting showed d47e84946ee010917cfc3501062721b74afbb771 as culprit
but the actual cause was a part of:
Regression-due-to: b06f96ba4f57f55194efcd37a0e3a2aa5450b974
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions