[git] GnuPG - branch, master, updated. gnupg-2.1.21-6-gaae50e0

by Justus Winter cvs at cvs.gnupg.org
Wed May 17 16:13:36 CEST 2017


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  aae50e0b6a61549e226e0c7785260ad517f0ffff (commit)
      from  0e1729bb993648deca84a2664ae78edc848d7003 (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 aae50e0b6a61549e226e0c7785260ad517f0ffff
Author: Justus Winter <justus at g10code.com>
Date:   Wed May 17 16:10:37 2017 +0200

    gpgscm: Fix checking for opcode arguments.
    
    * tests/gpgscm/scheme.c (Eval_Cycle): Update 'pcd' after dispatching
    an instruction.
    
    Fixes-commit: 9c6407d17e0cb9f4a370b1b83e7816577ec7d29d
    Signed-off-by: Justus Winter <justus at g10code.com>

diff --git a/tests/gpgscm/scheme.c b/tests/gpgscm/scheme.c
index 26bb5a5..593bc74 100644
--- a/tests/gpgscm/scheme.c
+++ b/tests/gpgscm/scheme.c
@@ -3451,9 +3451,10 @@ Eval_Cycle(scheme *sc, enum scheme_opcodes op) {
      double dd;
 #endif
      int (*comp_func)(num, num) = NULL;
-     const struct op_code_info *pcd = &dispatch_table[op];
+     const struct op_code_info *pcd;
 
   dispatch:
+     pcd = &dispatch_table[op];
      if (pcd->name[0] != 0) { /* if built-in function, check arguments */
        char msg[STRBUFFSIZE];
        if (! check_arguments (sc, pcd, msg, sizeof msg)) {

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

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


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




More information about the Gnupg-commits mailing list