[git] GnuPG - branch, STABLE-BRANCH-2-0, updated. gnupg-2.0.21-10-g801ea11

by Marcus Brinkmann cvs at cvs.gnupg.org
Wed Sep 18 09:06:17 CEST 2013


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  801ea11f21e4c29ab7220b0741691c1964b76854 (commit)
      from  0f18295ac83e0533f30b65a14bb04bd94f1627fe (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 801ea11f21e4c29ab7220b0741691c1964b76854
Author: Marcus Brinkmann <mb at g10code.com>
Date:   Tue Nov 10 09:04:17 2009 +0000

    2009-11-10  Marcus Brinkmann  <marcus at g10code.de>
    
    	* server.c (cmd_getauditlog): Don't dup FD for es_fdopen_nc as
    	this leaks the FD here.
    
    (cherry picked from commit b3cda3f45cdbf3c66538589c7e108cbf73adc850)
    
    Resolved Conflicts:
    	sm/ChangeLog-2011 - Removed.
    
    GnuPG-bug-id: 1535

diff --git a/sm/server.c b/sm/server.c
index fcf47a7..6ba5e58 100644
--- a/sm/server.c
+++ b/sm/server.c
@@ -1050,7 +1050,7 @@ cmd_getauditlog (assuan_context_t ctx, char *line)
       if (out_fd == -1)
         return set_error (GPG_ERR_ASS_NO_OUTPUT, NULL);
       
-      out_stream = es_fdopen_nc ( dup (out_fd), "w");
+      out_stream = es_fdopen_nc (out_fd, "w");
       if (!out_stream)
         {
           return set_error (GPG_ERR_ASS_GENERAL, "es_fdopen() failed");

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

Summary of changes:
 sm/server.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
The GNU Privacy Guard
http://git.gnupg.org




More information about the Gnupg-commits mailing list