[git] GCRYPT - branch, LIBGCRYPT-1-6-BRANCH, updated. libgcrypt-1.6.3-11-g67d93a2

by Peter Wu cvs at cvs.gnupg.org
Mon Sep 7 18:02:38 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 crypto library".

The branch, LIBGCRYPT-1-6-BRANCH has been updated
       via  67d93a230a4bf19feffae29de211d9bb0cfdd7e1 (commit)
      from  d2816248461c24a7ea81a1de2f562f481ccc9edd (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 67d93a230a4bf19feffae29de211d9bb0cfdd7e1
Author: Peter Wu <peter at lekensteyn.nl>
Date:   Tue Jul 14 09:53:38 2015 +0900

    sexp: Fix invalid deallocation in error path.
    
    * src/sexp.c: Fix wrong condition.
    
    --
    
    Signed-off-by: Peter Wu <peter at lekensteyn.nl>
    (cherry picked from commit 0f9532b186c1e0b54d7e7a6d76bce82b6226122b)

diff --git a/src/sexp.c b/src/sexp.c
index 9bc13ca..1c014e0 100644
--- a/src/sexp.c
+++ b/src/sexp.c
@@ -2405,7 +2405,7 @@ _gcry_sexp_vextract_param (gcry_sexp_t sexp, const char *path,
           _gcry_mpi_release (*array[idx]);
           *array[idx] = NULL;
         }
-      else if (!arrayisdesc[idx] == 1)
+      else if (arrayisdesc[idx] == 1)
         {
           /* Caller provided buffer.  */
           gcry_buffer_t *spec = (gcry_buffer_t*)array[idx];

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

Summary of changes:
 src/sexp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
The GNU crypto library
http://git.gnupg.org




More information about the Gnupg-commits mailing list