[git] GnuPG - branch, STABLE-BRANCH-2-2, updated. gnupg-2.2.6-14-gf747b8f

by NIIBE Yutaka cvs at cvs.gnupg.org
Fri Apr 13 09:45:01 CEST 2018


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-2 has been updated
       via  f747b8f0734338baa1e608b193b213aca2c577e8 (commit)
      from  c31abf84659dbda5503dd9f3aa3449520bcd1b84 (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 f747b8f0734338baa1e608b193b213aca2c577e8
Author: NIIBE Yutaka <gniibe at fsij.org>
Date:   Fri Apr 13 16:42:34 2018 +0900

    g10: Fix memory leak in check_sig_and_print.
    
    * g10/mainproc.c (check_sig_and_print): Free the public key.
    
    --
    
    GnuPG-bug-id: 3900
    Signed-off-by: NIIBE Yutaka <gniibe at fsij.org>

diff --git a/g10/mainproc.c b/g10/mainproc.c
index 49e7286..c7deeab 100644
--- a/g10/mainproc.c
+++ b/g10/mainproc.c
@@ -2308,6 +2308,7 @@ check_sig_and_print (CTX c, kbnode_t node)
         log_error (_("Can't check signature: %s\n"), gpg_strerror (rc));
     }
 
+  free_public_key (pk);
   xfree (issuer_fpr);
   return rc;
 }

-----------------------------------------------------------------------

Summary of changes:
 g10/mainproc.c | 1 +
 1 file changed, 1 insertion(+)


hooks/post-receive
-- 
The GNU Privacy Guard
http://git.gnupg.org




More information about the Gnupg-commits mailing list