Home GnuPG
Diffusion GnuPG 27e7bde12ee2

scd: avoid memory leaks

Description

scd: avoid memory leaks

* scd/app-p15.c (send_certinfo): free labelbuf
  (do_sign): goto leave instead of return
* scd/app-piv.c (do_sign): goto leave instead of return, fix typo in
  variable name, avoid using uninitialized variables
* scd/command.c (cmd_genkey): goto leave instead of return
  • Signed-off-by: Jakub Jelen <jjelen@redhat.com>
  • GnuPG-bug-id: T5393

Details

Provenance
JakujeAuthored on Apr 13 2021, 2:02 PM
wernerCommitted on May 20 2021, 2:48 PM
Parents
rGfc5fac83b778: kbx: Avoid uninitialized read
Branches
Unknown
Tags
Unknown
Tasks
T5393: gnupg coverity static analysis reports