Home GnuPG
Diffusion GnuPG a55c2125380a

kbx: Fix resource leak.
a55c2125380aUnpublished

Unpublished Commit · Learn More

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

Description

kbx: Fix resource leak.

* kbx/keybox-update.c (blob_filecopy): Fix resource leak.  On error
return, 'fp' and 'newfp' was never closed.

[Log entry reformatted, and added more fixes - gniibe]

(cherry picked from commit 7db6c82cec49b7c56c403a8ea98364086baf75f3)

  • Signed-off-by: Joshua Rogers <git@internot.info>

Details

Provenance
Joshua Rogers <git@internot.info>Authored on Jan 30 2015, 3:42 AM
wernerCommitted on Feb 12 2015, 6:46 PM
Parents
rG2b2adb85948c: gpg: Limit the size of key packets to a sensible value.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rGa55c2125380a: kbx: Fix resource leak. (authored by Joshua Rogers <git@internot.info>).Feb 12 2015, 6:46 PM