[git] GnuPG - branch, STABLE-BRANCH-1-4, updated. gnupg-1.4.18-22-gc83e250
by Werner Koch
cvs at cvs.gnupg.org
Fri Jan 9 01:09:18 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-1-4 has been updated
via c83e250ef36c28a275de74d96e89898e9f99cb1e (commit)
from 3ca1f4098c70d322658cfaaa0d12164e6ac6d5ad (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 c83e250ef36c28a275de74d96e89898e9f99cb1e
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/g10/app-openpgp.c b/g10/app-openpgp.c
index b51d418..c3b4fae 100644
--- a/g10/app-openpgp.c
+++ b/g10/app-openpgp.c
@@ -3497,7 +3497,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:
g10/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