diff options
author | Kai Michaelis <[email protected]> | 2016-10-24 10:29:05 +0000 |
---|---|---|
committer | Kai Michaelis <[email protected]> | 2016-10-24 10:33:22 +0000 |
commit | 5e7dfd979d2d91800d90c3ce9a66755df3217682 (patch) | |
tree | f8cce3f97c9b175e936ba5449aa54fc6d3a7819c /dirmngr/server.c | |
parent | scd: Use canonical curve name of libgcrypt. (diff) | |
download | gnupg-5e7dfd979d2d91800d90c3ce9a66755df3217682.tar.gz gnupg-5e7dfd979d2d91800d90c3ce9a66755df3217682.zip |
dirmngr: Fix segfault in VERSIONCHECK.
* dirmngr/server.c (cmd_versioncheck): The VERSIONCHECK command crashes
when called without program version.
Diffstat (limited to '')
-rw-r--r-- | dirmngr/server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dirmngr/server.c b/dirmngr/server.c index 8590fb118..496ee2d68 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; |