[git] GnuPG - branch, master, updated. gnupg-2.1.13-43-ge6e56ad

by Justus Winter cvs at cvs.gnupg.org
Thu Jun 23 14:23:53 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 Privacy Guard".

The branch, master has been updated
       via  e6e56adf208f194ecafda29bb1c1c06655348432 (commit)
       via  a4ff2d99d036fcd2c2ff196b82f0b81c60b97ed9 (commit)
      from  3ead21da80da4570e77036cc05303914c9b1f364 (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 e6e56adf208f194ecafda29bb1c1c06655348432
Author: Justus Winter <justus at g10code.com>
Date:   Thu Jun 23 14:10:00 2016 +0200

    gpgscm: Fix Scheme initialization.
    
    This potentially causes a crash if the garbage collector marks an eof
    object.
    
    * tests/gpgscm/scheme.c (scheme_init_custom_alloc): Initialize
    'EOF_OBJ'.
    
    Signed-off-by: Justus Winter <justus at g10code.com>

diff --git a/tests/gpgscm/scheme.c b/tests/gpgscm/scheme.c
index 3c7910c..3ed5d9b 100644
--- a/tests/gpgscm/scheme.c
+++ b/tests/gpgscm/scheme.c
@@ -4778,6 +4778,9 @@ int scheme_init_custom_alloc(scheme *sc, func_alloc malloc, func_dealloc free) {
   /* init F */
   typeflag(sc->F) = (T_ATOM | MARK);
   car(sc->F) = cdr(sc->F) = sc->F;
+  /* init EOF_OBJ */
+  typeflag(sc->EOF_OBJ) = (T_ATOM | MARK);
+  car(sc->EOF_OBJ) = cdr(sc->EOF_OBJ) = sc->EOF_OBJ;
   /* init sink */
   typeflag(sc->sink) = (T_PAIR | MARK);
   car(sc->sink) = sc->NIL;

commit a4ff2d99d036fcd2c2ff196b82f0b81c60b97ed9
Author: Justus Winter <justus at g10code.com>
Date:   Thu Jun 23 13:18:25 2016 +0200

    gpgscm: Fix manual.
    
    --
    Signed-off-by: Justus Winter <justus at g10code.com>

diff --git a/tests/gpgscm/Manual.txt b/tests/gpgscm/Manual.txt
index ffda956..9fd294f 100644
--- a/tests/gpgscm/Manual.txt
+++ b/tests/gpgscm/Manual.txt
@@ -88,7 +88,7 @@ Please read accompanying file COPYING.
      (gc)
      Performs garbage collection immediatelly.
 
-     (gcverbose) (gcverbose <bool>)
+     (gc-verbose) (gc-verbose <bool>)
      The argument (defaulting to #t) controls whether GC produces
      visible outcome.
 

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

Summary of changes:
 tests/gpgscm/Manual.txt | 2 +-
 tests/gpgscm/scheme.c   | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)


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




More information about the Gnupg-commits mailing list