Fix potential crash in trace macro.
authorWerner Koch <wk@gnupg.org>
Mon, 16 Mar 2015 12:40:34 +0000 (13:40 +0100)
committerWerner Koch <wk@gnupg.org>
Mon, 16 Mar 2015 12:40:34 +0000 (13:40 +0100)
commit8cfcdfe5564f87362e5ec1bfdca5c14aed9c45f0
treed2b904fa47d629b41a713756589a41f2e8e824b6
parent119f27032b822ace8c012b96f9e41bcf23251a54
Fix potential crash in trace macro.

* src/signers.c (gpgme_signers_add): Avoid deref of a NULL KEY in the
trace macro.
* src/engine-spawn.c (engspawn_release): Remove always true condition.
* src/engine-gpg.c (gpg_release): Ditto.

Signed-off-by: Werner Koch <wk@gnupg.org>
src/engine-gpg.c
src/engine-spawn.c
src/signers.c