Home GnuPG

cipher: Fix memory leaks for EdDSA.

Description

cipher: Fix memory leaks for EdDSA.

* cipher/ecc-eddsa.c (_gcry_ecc_eddsa_genkey): Free the point Q.
(_gcry_ecc_eddsa_verify): Avoid memory leaks for points and MPIs.
  • GnuPG-bug-id: T5385
  • Co-authored-by: Jakub Jelen <jjelen@redhat.com>
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Apr 15 2021, 9:08 AM
Parents
rC9c42db0b379c: api: Avoid use of C99 feature.
Branches
Unknown
Tags
Unknown
Tasks
T5385: libgcrypt coverity static analysis reports