[git] GnuPG - branch, master, updated. gnupg-2.1.8-86-g818fa4f

by NIIBE Yutaka cvs at cvs.gnupg.org
Fri Oct 9 04:47:33 CEST 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  818fa4f71e1056831b35d0f8aff715c0e1d537e6 (commit)
      from  f70f6695368444d8058305ab696e5e5a1bace18c (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 818fa4f71e1056831b35d0f8aff715c0e1d537e6
Author: NIIBE Yutaka <gniibe at fsij.org>
Date:   Fri Oct 9 11:46:23 2015 +0900

    agent: fix agent_askpin.
    
    * agent/call-pinentry.c (agent_askpin): Fix off-by-one error.

diff --git a/agent/call-pinentry.c b/agent/call-pinentry.c
index def3320..5092375 100644
--- a/agent/call-pinentry.c
+++ b/agent/call-pinentry.c
@@ -830,7 +830,7 @@ agent_askpin (ctrl_t ctrl,
 
 	  *pininfo->pin = 0; /* Reset the PIN. */
 	  rc = pinentry_loopback(ctrl, "PASSPHRASE", &passphrase, &size,
-		  pininfo->max_length);
+		  pininfo->max_length - 1);
 	  if (rc)
 	    return rc;
 

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

Summary of changes:
 agent/call-pinentry.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