Home GnuPG
Diffusion GnuPG de441cb9cc87

g10: Fix secmem leak.
de441cb9cc87Unpublished

Unpublished Commit ยท Learn More

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

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.

Details

Provenance
Ineiev <ineiev@gnu.org>Authored on Apr 14 2016, 5:42 PM
dkgCommitted on Apr 26 2017, 3:13 AM
Parents
rGbb61191aad98: gpg: Fix exporting of zero length user ID packets.
Branches
Unknown
Tags
Unknown
References
dkg/T1371
Tasks
T1371: Out of secure memory while generating several keys in batchmode