dirmngr: Fix segfault in VERSIONCHECK.

* dirmngr/server.c (cmd_versioncheck): The VERSIONCHECK command crashes
when called without program version.
This commit is contained in:
Kai Michaelis 2016-10-24 12:29:05 +02:00
parent b1828c17fc
commit 5e7dfd979d
1 changed files with 2 additions and 2 deletions

View File

@ -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;