[git] GnuPG - branch, master, updated. gnupg-2.1.1-27-g100b322

by Joshua Rogers cvs at cvs.gnupg.org
Thu Jan 8 03:15:14 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, master has been updated
       via  100b322f5da3066bab5a2b0eb234c631c581c0e4 (commit)
      from  22b15fccffe613f455f9748c048c8e451724a842 (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 100b322f5da3066bab5a2b0eb234c631c581c0e4
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 475d844..7f1ec43 100644
--- a/scd/app-openpgp.c
+++ b/scd/app-openpgp.c
@@ -1451,7 +1451,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