[git] GCRYPT - branch, master, updated. libgcrypt-1.6.0-233-g0f9532b

by Peter Wu cvs at cvs.gnupg.org
Tue Jul 14 02:55:43 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, master has been updated
       via  0f9532b186c1e0b54d7e7a6d76bce82b6226122b (commit)
      from  2a7aa3ea4d03a9c808d5888f5509c08cd27aa27c (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 0f9532b186c1e0b54d7e7a6d76bce82b6226122b
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>

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


_______________________________________________
Gnupg-commits mailing list
Gnupg-commits at gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-commits




More information about the Gcrypt-devel mailing list