[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnupg-commit-watchers
Subject:    [git] GCRYPT - branch, master, updated. libgcrypt-1.6.0-233-g0f9532b
From:       cvs () cvs ! gnupg ! org (by Peter Wu)
Date:       2015-07-14 0:55:43
Message-ID: E1ZEoP8-0003oa-Fd () lists ! gnupg ! org
[Download RAW message or body]

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@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@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@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic