Home GnuPG

Fix memory leaks.

Description

Fix memory leaks.

* src/sexp.c (_gcry_hex2buffer): Free buffer on error.
* cipher/ecc-ecdh.c (_gcry_ecc_curve_keypair): Free buffer on exit path.
(_gcry_ecc_curve_mul_point): Free buffer on all exit paths.
* tests/t-common.h (hex2buffer): Free memory on error path.
  • Signed-off-by: Jakub Jelen <jjelen@redhat.com>

Details

Provenance
gniibeAuthored on Wed, Aug 21, 8:18 AM
Parents
rC55e2e23401c6: Add PAC/BTI support for AArch64 assembly
Branches
Unknown
Tags
Unknown