[git] GnuPG - branch, STABLE-BRANCH-2-0, updated. gnupg-2.0.26-33-gd92fe96

by Werner Koch cvs at cvs.gnupg.org
Fri Jan 9 01:09:31 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  d92fe965f3290a200d0a578decdd0867817b3b7b (commit)
      from  40f476867c5874602da921d48e339ae3612a0dcc (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 d92fe965f3290a200d0a578decdd0867817b3b7b
Author: Werner Koch <wk at gnupg.org>
Date:   Fri Dec 12 20:08:45 2014 +0100

    scd: Fix possibly inhibited checkpin of the admin pin.
    
    * scd/app-openpgp.c (do_check_pin): Do not check a byte of a released
    buffer.
    
    Signed-off-by: Werner Koch <wk at gnupg.org>

diff --git a/scd/app-openpgp.c b/scd/app-openpgp.c
index bd96ed0..fc69fdb 100644
--- a/scd/app-openpgp.c
+++ b/scd/app-openpgp.c
@@ -3711,7 +3711,7 @@ do_check_pin (app_t app, const char *keyidstr,
           log_info (_("card is permanently locked!\n"));
           return gpg_error (GPG_ERR_BAD_PIN);
         }
-      else if (value[6] < 3)
+      else if (count < 3)
         {
           log_info (_("verification of Admin PIN is currently prohibited "
                       "through this command\n"));

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

Summary of changes:
 scd/app-openpgp.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