[git] GnuPG - branch, master, updated. gnupg-2.1.6-8-gf2ee673
by Neal H. Walfield
cvs at cvs.gnupg.org
Thu Jul 16 09:58:33 CEST 2015
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU Privacy Guard".
The branch, master has been updated
via f2ee673c99825d5189631031ddec2dbf54dbd482 (commit)
from b3286af36d452fc801be573a057b0838d53a2edd (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit f2ee673c99825d5189631031ddec2dbf54dbd482
Author: Neal H. Walfield <neal at g10code.com>
Date: Thu Jul 16 09:57:27 2015 +0200
Don't segfault if the first 'auto-key-locate' option is 'clear'.
* g10/getkey.c (free_akl): If AKL is NULL, just return.
--
Signed-off-by: Neal H. Walfield <neal at g10code.com>.
Reported-by: Sami Farin.
GnuPG-bug-id: 2045
diff --git a/g10/getkey.c b/g10/getkey.c
index e450c56..5f118ea 100644
--- a/g10/getkey.c
+++ b/g10/getkey.c
@@ -2923,6 +2923,9 @@ get_ctx_handle (GETKEY_CTX ctx)
static void
free_akl (struct akl *akl)
{
+ if (! akl)
+ return;
+
if (akl->spec)
free_keyserver_spec (akl->spec);
-----------------------------------------------------------------------
Summary of changes:
g10/getkey.c | 3 +++
1 file changed, 3 insertions(+)
hooks/post-receive
--
The GNU Privacy Guard
http://git.gnupg.org
More information about the Gnupg-commits
mailing list