Home GnuPG

Fix possible segv if NULL is passed as cert.
6fd166870237Unpublished

Unpublished Commit · Learn More

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

Description

Fix possible segv if NULL is passed as cert.

* src/cert.c (ksba_cert_get_digest_algo): Fix !cert case.

Found by Hans-Christoph Steiner with cppcheck.

Details

Provenance
wernerAuthored on Apr 15 2014, 4:40 PM
Parents
rKf73e671406ee: Remove cruft.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rK6fd166870237: Fix possible segv if NULL is passed as cert. (authored by Werner Koch <wk@gnupg.org>).Apr 15 2014, 10:08 PM