[git] GnuPG - branch, STABLE-BRANCH-2-0, updated. gnupg-2.0.26-42-g068ec6c

by Werner Koch cvs at cvs.gnupg.org
Fri Jan 23 15:40:25 CET 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 Privacy Guard".

The branch, STABLE-BRANCH-2-0 has been updated
       via  068ec6c8ed07268469f33e5b3ba1e094d9bf3394 (commit)
      from  1298b14f97efebdd88a9390af3848154dbe0d259 (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 068ec6c8ed07268469f33e5b3ba1e094d9bf3394
Author: Werner Koch <wk at gnupg.org>
Date:   Fri Jan 23 15:37:51 2015 +0100

    gpgconf: Fix validity check for UINT32 values.
    
    * tools/gpgconf-comp.c (option_check_validity): Enable check for
    UINT32.
    --
    
    Reported-by: Günther Noack <gnoack at google.com>
    
    This is actually a bug which inhibited the checking of values of type
    UINT32.
    
    Signed-off-by: Werner Koch <wk at gnupg.org>
    (cherry picked from commit 3f6abb57a7b5e54b593c5775c8f7a07d61119705)

diff --git a/tools/gpgconf-comp.c b/tools/gpgconf-comp.c
index 83bc24e..4993989 100644
--- a/tools/gpgconf-comp.c
+++ b/tools/gpgconf-comp.c
@@ -2249,7 +2249,7 @@ option_check_validity (gc_option_t *option, unsigned long flags,
 	    gc_error (1, 0, "garbage after argument for option %s",
 		      option->name);
 	}
-      else if (gc_arg_type[option->arg_type].fallback == GC_ARG_TYPE_INT32)
+      else if (gc_arg_type[option->arg_type].fallback == GC_ARG_TYPE_UINT32)
 	{
 	  errno = 0;
 	  (void) strtoul (arg, &arg, 0);

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

Summary of changes:
 tools/gpgconf-comp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


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




More information about the Gnupg-commits mailing list