Home GnuPG

cipher: Fix possible NULL dereference.
ae1fbce6dacfUnpublished

Unpublished Commit · Learn More

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

Description

cipher: Fix possible NULL dereference.

* cipher/md.c (_gcry_md_selftest): Check for spec being NULL.

Also removed left-over code in unused file cipher/test-getrusage.c.

Found by Hans-Christoph Steiner with cppcheck.

Details

Provenance
wernerAuthored on Apr 15 2014, 4:40 PM
Parents
rCb76b632a453b: 3des: add amd64 assembly implementation for 3DES
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rCae1fbce6dacf: cipher: Fix possible NULL dereference. (authored by Werner Koch <wk@gnupg.org>).Apr 15 2014, 10:15 PM