[git] GnuPG - branch, master, updated. gnupg-2.1.3-37-g7039f87

by Werner Koch cvs at cvs.gnupg.org
Fri May 8 16:21:20 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  7039f87375b3c89d6e63837b811ed2be71c8d9db (commit)
      from  64e809b791645f343feb69112baba8e2700e454b (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 7039f87375b3c89d6e63837b811ed2be71c8d9db
Author: Werner Koch <wk at gnupg.org>
Date:   Fri May 8 16:20:26 2015 +0200

    gpg: Fix wrong output in list mode.
    
    * g10/parse-packet.c (parse_gpg_control): Replace puts by es_fputs to
    LISTFP.
    --
    
    Reported-by: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
    
    This was an oversight from the conversion to estream or a separate
    listing stream.
    
    Signed-off-by: Werner Koch <wk at gnupg.org>

diff --git a/g10/parse-packet.c b/g10/parse-packet.c
index c80b7df..3cac6f8 100644
--- a/g10/parse-packet.c
+++ b/g10/parse-packet.c
@@ -2906,7 +2906,7 @@ parse_gpg_control (IOBUF inp, int pkttype, unsigned long pktlen,
     goto skipit;  /* Definitely too large.  We skip it to avoid an
                      overflow in the malloc.  */
   if (list_mode)
-    puts ("- gpg control packet");
+    es_fputs ("- gpg control packet", listfp);
 
   packet->pkt.gpg_control = xmalloc (sizeof *packet->pkt.gpg_control
 				     + pktlen - 1);

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

Summary of changes:
 g10/parse-packet.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