Home GnuPG

fips: Fix memory leaks in FIPS mode
a60f8e43dd1bUnpublished

Unpublished Commit · Learn More

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

Description

fips: Fix memory leaks in FIPS mode

* cipher/pubkey.c (_gcry_pk_sign_md): Fix memory leak in FIPS mode when
  used with SHA1
* tests/basic.c (check_one_cipher_core): Add missing free in error code
  triggered in FIPS mode
* tests/dsa-rfc6979.c (check_dsa_rfc6979): Likewise
* tests/pubkey.c (check_x931_derived_key): Likewise

Cherry-picked the master commit of:
7fc5d33e74164519edcd8127a35cc21228d2727f

  • Signed-off-by: Clemens Lang <cllang@redhat.com>

Details

Provenance
Clemens Lang via Gcrypt-devel <gcrypt-devel@lists.gnupg.org>Authored on Feb 11 2022, 4:55 PM
gniibeCommitted on Feb 14 2022, 7:17 AM
Parents
rC23345eac14d2: Register DCO for Clemens Lang.
Branches
Unknown
Tags
Unknown

Event Timeline