[git] GnuPG - branch, STABLE-BRANCH-2-0, updated. gnupg-2.0.28-12-g376417a

by Neal H. Walfield cvs at cvs.gnupg.org
Thu Jul 16 11:39:08 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, STABLE-BRANCH-2-0 has been updated
       via  376417ab63ebb0fd2432ddc0ee1db722ffa1d3d2 (commit)
      from  022719695e3900005d78564dfe4b2154fe0537a5 (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 376417ab63ebb0fd2432ddc0ee1db722ffa1d3d2
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.
    
    --
    Backported from f2ee673c99825d5189631031ddec2dbf54dbd482.  Note:
    unlike in 2.1, in 2.0 this bug is not (currently) triggered since
    parse_auto_key_locate doesn't recognize "clear".
    
    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 a27c8e2..6c14683 100644
--- a/g10/getkey.c
+++ b/g10/getkey.c
@@ -3098,6 +3098,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