[git] GnuPG - branch, master, updated. gnupg-2.1.9-100-gc5a9fed

by NIIBE Yutaka cvs at cvs.gnupg.org
Wed Nov 4 02:54:20 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, master has been updated
       via  c5a9fedba66361ddd9f596528882750068543298 (commit)
      from  44ad9f29d43f40bbc1840454880f4af3df1c5295 (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 c5a9fedba66361ddd9f596528882750068543298
Author: NIIBE Yutaka <gniibe at fsij.org>
Date:   Wed Nov 4 10:48:59 2015 +0900

    scd: fix change_keyattr.
    
    * scd/app-openpgp.c (change_keyattr_from_string): Fix parsing.

diff --git a/scd/app-openpgp.c b/scd/app-openpgp.c
index d43db5b..06ab327 100644
--- a/scd/app-openpgp.c
+++ b/scd/app-openpgp.c
@@ -2793,8 +2793,8 @@ change_keyattr_from_string (app_t app,
   /* Because this function deletes the key we require the string
      "--force" in the data to make clear that something serious might
      happen.  */
-  sscanf (string, " --force %d %d %n", &key, &algo, &n);
-  if (n < 13)
+  sscanf (string, "--force %d %d %n", &key, &algo, &n);
+  if (n < 12)
     {
       err = gpg_error (GPG_ERR_INV_DATA);
       goto leave;

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

Summary of changes:
 scd/app-openpgp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


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




More information about the Gnupg-commits mailing list