tests: Add safeguards against nullptr deref
authorAndre Heinecke <aheinecke@intevation.de>
Tue, 17 Jan 2017 14:20:56 +0000 (15:20 +0100)
committerAndre Heinecke <aheinecke@intevation.de>
Tue, 17 Jan 2017 14:20:56 +0000 (15:20 +0100)
commitca69df8c8d3f044340aee2a118cc20d33cd600a1
tree7267a19a532a8fc730a30d16a47649ac064ca36d
parentabfd241d1a1ae8e30e18b7c5e0658b8c54d89544
tests: Add safeguards against nullptr deref

* t-gpgconf.c (main): Test some values before dereferencing them.
tests/gpg/t-gpgconf.c