core,w32: Fix missing sentinel in dir name builder.
authorWerner Koch <wk@gnupg.org>
Tue, 19 Feb 2019 11:11:22 +0000 (12:11 +0100)
committerWerner Koch <wk@gnupg.org>
Tue, 19 Feb 2019 11:11:22 +0000 (12:11 +0100)
commit4c49417cc0dbd7f34269aff00fccafba150af744
tree0174fab4d014544aea3d199b255573904423f18a
parentf8312d7c333193582dcb5816198219b9564023f0
core,w32: Fix missing sentinel in dir name builder.

* src/w32-util.c (_gpgme_get_gpgconf_path): Add NULL top strconcat.
--

Fortunately this is called early and the stack like cleared out so
that we have not seen wrong behaviour until now.  We should really fix
all these annoying HANDLE/int cast warnings and alike so that real
bugs are not drowned by them.

GnuPG-bug-id: 4369
Signed-off-by: Werner Koch <wk@gnupg.org>
src/w32-util.c