Home GnuPG
Diffusion GnuPG 2c2121ff3c2b

g10: Fix secmem leak.

Description

g10: Fix secmem leak.

* g10/keygen.c (proc_parameter_file): Fix secmem leak.

proc_parameter_file adds certain parameters to the list in the PARA
argument; however, these new entries are leaked because they
are added to head, while the PARA list is released by the caller
of proc_parameter_file.

  • GnuPG-bug-id: T1371
  • Signed-off-by: Ineiev <ineiev@gnu.org>

Details

Provenance
Ineiev <ineiev@gnu.org>Authored on Apr 14 2016, 5:42 PM
gniibeCommitted on May 10 2017, 7:09 AM
Parents
rGbb61191aad98: gpg: Fix exporting of zero length user ID packets.
Branches
Unknown
Tags
Unknown
Tasks
T1371: Out of secure memory while generating several keys in batchmode