[git] GnuPG - branch, master, updated. gnupg-2.1.6-32-gd088d2c

by NIIBE Yutaka cvs at cvs.gnupg.org
Wed Aug 5 01:18:52 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  d088d2c81690a89051349ddc8a82fe222625f4e0 (commit)
      from  0751571cac0f5aef2862c34a184f7f09ad9cb203 (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 d088d2c81690a89051349ddc8a82fe222625f4e0
Author: NIIBE Yutaka <gniibe at fsij.org>
Date:   Wed Aug 5 08:17:46 2015 +0900

    scd: Fix ecc_oid.
    * scd/app-openpgp.c (ecc_oid): Call with OIDBUF.

diff --git a/scd/app-openpgp.c b/scd/app-openpgp.c
index 83465f4..cc95773 100644
--- a/scd/app-openpgp.c
+++ b/scd/app-openpgp.c
@@ -4386,7 +4386,7 @@ ecc_oid (unsigned char *buf, size_t buflen)
   memcpy (oidbuf+1, buf, buflen);
   oidbuf[0] = buflen;
-  oid = gcry_mpi_set_opaque (NULL, buf, buflen * 8);
+  oid = gcry_mpi_set_opaque (NULL, oidbuf, (buflen+1) * 8);
   if (!oid)
       xfree (oidbuf);


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

The GNU Privacy Guard

More information about the Gnupg-commits mailing list