[Pkg-gnupg-commit] [gnupg2] 89/292: tools: Improve error handling.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Mon Nov 21 06:31:29 UTC 2016


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch master
in repository gnupg2.

commit 32f81f56a8be6d13dea0a64d24f52343c7e72c84
Author: Justus Winter <justus at g10code.com>
Date:   Thu Oct 6 14:17:03 2016 +0200

    tools: Improve error handling.
    
    * tools/gpg-wks-server.c (copy_key_as_binary): Initialize 'argv'.
    
    Signed-off-by: Justus Winter <justus at g10code.com>
---
 tools/gpg-wks-server.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/gpg-wks-server.c b/tools/gpg-wks-server.c
index 408e3f5..60505ab 100644
--- a/tools/gpg-wks-server.c
+++ b/tools/gpg-wks-server.c
@@ -519,7 +519,7 @@ copy_key_as_binary (const char *keyfile, const char *outfile,
 {
   gpg_error_t err;
   ccparray_t ccp;
-  const char **argv;
+  const char **argv = NULL;
   char *filterexp = NULL;
 
   if (addrspec)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git



More information about the Pkg-gnupg-commit mailing list