Home GnuPG

Fix NULL deref when tracing is enabled and malloc fails.
326a2918d645Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Fix NULL deref when tracing is enabled and malloc fails.

* src/debug.h (TRACE_ERR): Check CTX before a deref.
* src/assuan-defs.h (_assuan_error): Turn into an inline function and
check CTX before a deref.

Found by Hans-Christoph Steiner with cppcheck.

Details

Provenance
wernerAuthored on Apr 15 2014, 4:40 PM
Parents
rAa5a6aea1ef06: Use the generic autogen.sh script.
Branches
Unknown
Tags
Unknown

Event Timeline