[git] GnuPG - branch, STABLE-BRANCH-2-0, updated. gnupg-2.0.26-32-g40f4768
by Joshua Rogers
cvs at cvs.gnupg.org
Thu Jan 8 03:17:32 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 40f476867c5874602da921d48e339ae3612a0dcc (commit)
from 4f0d526b7df871318508f8c3d2f57e7069c47e6f (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 40f476867c5874602da921d48e339ae3612a0dcc
Author: Joshua Rogers <git at internot.info>
Date: Sat Dec 20 11:38:53 2014 +1100
scd: fix get_public_key for OpenPGPcard v1.0.
* scd/app-openpgp.c (get_public_key): correctly close 'fp' upon use.
--
Inside the get_public_key function, 'fp' was opened using popen, but
incorrectly closed using fclose.
Debian-Bug-Id: 773474
diff --git a/scd/app-openpgp.c b/scd/app-openpgp.c
index 0d4ce90..bd96ed0 100644
--- a/scd/app-openpgp.c
+++ b/scd/app-openpgp.c
@@ -1320,7 +1320,7 @@ get_public_key (app_t app, int keyno)
}
err = retrieve_key_material (fp, hexkeyid, &m, &mlen, &e, &elen);
- fclose (fp);
+ pclose (fp);
if (err)
{
log_error ("error while retrieving key material through pipe: %s\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