card: Fix a NULL-ptr deref in key listings.
authorWerner Koch <wk@gnupg.org>
Thu, 7 Feb 2019 15:28:03 +0000 (16:28 +0100)
committerWerner Koch <wk@gnupg.org>
Thu, 7 Feb 2019 15:28:03 +0000 (16:28 +0100)
commitdf6ba6dfd235fddb7645bc16573da1a6a7e6b49d
tree7dbba1063aabe8e99539a476a0a6342b20c3ec8d
parent5bf1212000f48243642ace0f708fd27446879b9e
card: Fix a NULL-ptr deref in key listings.

* tools/card-tool-keys.c (get_matching_keys): Fix segv.
* tools/gpg-card-tool.c (main): Init info.

Signed-off-by: Werner Koch <wk@gnupg.org>
tools/card-tool-keys.c
tools/gpg-card-tool.c