[git] GnuPG - branch, STABLE-BRANCH-2-2, updated. gnupg-2.2.5-6-gbf43b39
by Werner Koch
cvs at cvs.gnupg.org
Thu Mar 1 19:16:28 CET 2018
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-2 has been updated
via bf43b39c05cfc68ea17483c78f14bfca6faf08eb (commit)
from fd595c9d3642dba437fbe0f6e25d7aaaae095f94 (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 bf43b39c05cfc68ea17483c78f14bfca6faf08eb
Author: Werner Koch <wk at gnupg.org>
Date: Thu Mar 1 19:10:10 2018 +0100
gpg: Fix regression in last --card-status patch
--
Sorry, I accidentally pushed the last commit without having amended it
with this fix.
Fixes-commit: fd595c9d3642dba437fbe0f6e25d7aaaae095f94
Signed-off-by: Werner Koch <wk at gnupg.org>
diff --git a/g10/call-agent.c b/g10/call-agent.c
index f29e1b1..ea530e7 100644
--- a/g10/call-agent.c
+++ b/g10/call-agent.c
@@ -383,7 +383,7 @@ unhexify_fpr (const char *hexstr, unsigned char *fpr)
;
if ((*s && *s != ' ') || (n != 40))
return 0; /* no fingerprint (invalid or wrong length). */
- for (s=hexstr, n=0; *s; s += 2, n++)
+ for (s=hexstr, n=0; *s && n < 20; s += 2, n++)
fpr[n] = xtoi_2 (s);
return 1; /* okay */
-----------------------------------------------------------------------
Summary of changes:
g10/call-agent.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