[git] GCRYPT - branch, LIBGCRYPT-1-6-BRANCH, updated. libgcrypt-1.6.5-10-g16a4ec6

by Werner Koch cvs at cvs.gnupg.org
Fri Apr 15 16:10:10 CEST 2016


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  16a4ec65a636a00a0a234900c3a29b23a918c72f (commit)
       via  11c655fbe6299394571272831c67240305fbd277 (commit)
      from  fe9f6e3670d0095467c7234bed420ac42c065e70 (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 16a4ec65a636a00a0a234900c3a29b23a918c72f
Author: Werner Koch <wk at gnupg.org>
Date:   Fri Apr 15 16:09:41 2016 +0200

    Set end-of-life for 1.6 to 2017-06-30
    
    --

diff --git a/AUTHORS b/AUTHORS
index a8f62ce..672a8d0 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -3,6 +3,7 @@ Homepage: https://www.gnu.org/software/libgcrypt/
 Maintainer: Werner Koch <wk at gnupg.org>
 Bug reports: http://bugs.gnupg.org
 Security related bug reports: <security at gnupg.org>
+End-of-life: 2017-06-30
 License (library): LGPLv2.1+
 License (manual and tools): GPLv2+
 

commit 11c655fbe6299394571272831c67240305fbd277
Author: Justus Winter <justus at g10code.com>
Date:   Thu Apr 14 13:53:55 2016 +0200

    src: Improve S-expression parsing.
    
    * src/sexp.c (do_vsexp_sscan): Return an error if a closing
    parenthesis is encountered with no matching opening parenthesis.
    
    Signed-off-by: Justus Winter <justus at g10code.com>

diff --git a/src/sexp.c b/src/sexp.c
index f1bbffa..470160e 100644
--- a/src/sexp.c
+++ b/src/sexp.c
@@ -1592,6 +1592,13 @@ do_vsexp_sscan (gcry_sexp_t *retsexp, size_t *erroff,
 	      err = GPG_ERR_SEXP_UNMATCHED_DH;
               goto leave;
 	    }
+
+	  if (level == 0)
+	    {
+	      *erroff = p - buffer;
+	      err = GPG_ERR_SEXP_UNMATCHED_PAREN;
+	      goto leave;
+	    }
 	  MAKE_SPACE (0);
 	  *c.pos++ = ST_CLOSE;
 	  level--;

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

Summary of changes:
 AUTHORS    | 1 +
 src/sexp.c | 7 +++++++
 2 files changed, 8 insertions(+)


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




More information about the Gnupg-commits mailing list