[git] GnuPG - branch, master, updated. gnupg-2.1.9-78-gfa15a71

by Werner Koch cvs at cvs.gnupg.org
Wed Oct 28 12:00:52 CET 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  fa15a71daff8414bf4112bc2826dc495ff2fb01f (commit)
      from  1f872cb4ad2d3dcc3598fed689504c9731600caa (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 fa15a71daff8414bf4112bc2826dc495ff2fb01f
Author: Werner Koch <wk at gnupg.org>
Date:   Wed Oct 28 11:57:00 2015 +0100

    dirmngr: Fix NULL-deref while loading a CRL.
    
    * dirmngr/crlcache.c (crl_parse_insert): Set error before leaping to
    failure.
    --
    
    GnuPG-bug-id: 2082
    Signed-off-by: Werner Koch <wk at gnupg.org>

diff --git a/dirmngr/crlcache.c b/dirmngr/crlcache.c
index 64836e2..d205999 100644
--- a/dirmngr/crlcache.c
+++ b/dirmngr/crlcache.c
@@ -1702,7 +1702,8 @@ crl_parse_insert (ctrl_t ctrl, ksba_crl_t crl,
         {
         case KSBA_SR_BEGIN_ITEMS:
           {
-            if (start_sig_check (crl, &md, &algo ))
+            err = start_sig_check (crl, &md, &algo);
+            if (err)
               goto failure;
 
             err = ksba_crl_get_update_times (crl, thisupdate, nextupdate);

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

Summary of changes:
 dirmngr/crlcache.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


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




More information about the Gnupg-commits mailing list