[Pkg-gnupg-commit] [gnupg2] 152/292: dirmngr: Fix segfault in VERSIONCHECK.
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Mon Nov 21 06:31:36 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 5e7dfd979d2d91800d90c3ce9a66755df3217682
Author: Kai Michaelis <kai at gnupg.org>
Date: Mon Oct 24 12:29:05 2016 +0200
dirmngr: Fix segfault in VERSIONCHECK.
* dirmngr/server.c (cmd_versioncheck): The VERSIONCHECK command crashes
when called without program version.
---
dirmngr/server.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dirmngr/server.c b/dirmngr/server.c
index 8590fb1..496ee2d 100644
--- a/dirmngr/server.c
+++ b/dirmngr/server.c
@@ -2516,8 +2516,8 @@ cmd_versioncheck (assuan_context_t ctx, char *line)
char *cmd_fields[2];
ctrl_t ctrl;
- estream_t swdb;
- estream_t swdb_sig;
+ estream_t swdb = NULL;
+ estream_t swdb_sig = NULL;
char* swdb_dir = NULL;
char* swdb_sig_dir = NULL;
char* buf = NULL;
--
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