Fix possible NULL-deref in gcry_log_debugsxp
authorWerner Koch <wk@gnupg.org>
Tue, 6 Dec 2016 20:44:33 +0000 (21:44 +0100)
committerWerner Koch <wk@gnupg.org>
Tue, 6 Dec 2016 20:44:33 +0000 (21:44 +0100)
commit984a97f0750f812f0ad3c343ee6a67560953a504
tree038f4abeaa644a9ec71ac64a6112b7be9b8fa10a
parent603f479a919311f720a05da738150c2192d5e562
Fix possible NULL-deref in gcry_log_debugsxp

* src/misc.c (_gcry_log_printsxp): Prevent passing NULL to strlen.

Signed-off-by: Werner Koch <wk@gnupg.org>
src/misc.c