[git] GnuPG - branch, STABLE-BRANCH-2-0, updated. gnupg-2.0.19-57-g8c32d4d

by David Shaw cvs at cvs.gnupg.org
Fri Dec 21 00:15:55 CET 2012


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  8c32d4de57b8b0b5e1be3022d4056a854c568745 (commit)
      from  498882296ffac7987c644aaf2a0aa108a2925471 (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 8c32d4de57b8b0b5e1be3022d4056a854c568745
Author: David Shaw <dshaw at jabberwocky.com>
Date:   Thu Dec 20 18:12:29 2012 -0500

    Make sure srvcount is initialized.
    
    * keyserver/gpgkeys_hkp.c (srv_replace): Initialize srvcount.

diff --git a/keyserver/gpgkeys_hkp.c b/keyserver/gpgkeys_hkp.c
index ff41f97..d90027a 100644
--- a/keyserver/gpgkeys_hkp.c
+++ b/keyserver/gpgkeys_hkp.c
@@ -547,6 +547,8 @@ srv_replace(const char *srvtag,
       strcat(srvname,opt->host);
       srvcount=getsrv(srvname,&srvlist);
     }
+  else
+    srvcount = 0;
 
   for(srvindex=0 ; srvindex<srvcount && portstr ; srvindex++)
     {

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

Summary of changes:
 keyserver/gpgkeys_hkp.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


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




More information about the Gnupg-commits mailing list