Home GnuPG

ecc: Free memory also when in error branch.
1d896371fbc9Unpublished

Unpublished Commit · Learn More

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

Description

ecc: Free memory also when in error branch.

* cipher/ecc-eddsa.c (_gcry_ecc_eddsa_sign): Init DISGEST and goto
leave on error.

Fixing an issue found by static analysis.

Added DIGEST init and wrote Changelog.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
Ismo Puustinen <ismo.puustinen@intel.com>Authored on Aug 5 2015, 2:27 PM
wernerCommitted on Aug 6 2015, 2:52 PM
Parents
rCe93f4c21c597: Add Curve25519 support.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rC1d896371fbc9: ecc: Free memory also when in error branch. (authored by Ismo Puustinen <ismo.puustinen@intel.com>).Aug 6 2015, 2:52 PM