Home GnuPG
Diffusion GnuPG e6132bc9f417

sm: Avoid memory leaks and double double-free

Description

sm: Avoid memory leaks and double double-free

* sm/certcheck.c (extract_pss_params): Avoid double free
* sm/decrypt.c (gpgsm_decrypt): goto leave instead of return
* sm/encrypt.c (encrypt_dek): release s_pkey
* sm/server.c (cmd_export): free list
(do_listkeys): free lists
  • Signed-off-by: Jakub Jelen <jjelen@redhat.com>
  • GnuPG-bug-id: T5393

Details

Provenance
JakujeAuthored on Apr 12 2021, 2:05 PM
wernerCommitted on May 20 2021, 1:51 PM
Parents
rG2af7bb2295cd: g10: Fix memory leaks
Branches
Unknown
Tags
Unknown
Tasks
T5393: gnupg coverity static analysis reports