Home GnuPG
Diffusion GnuPG db82b6131d43

kbx: Avoid faulty fclose in an error case.
db82b6131d43Unpublished

Unpublished Commit · Learn More

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

Description

kbx: Avoid faulty fclose in an error case.

* kbx/keybox-update.c (blob_filecopy): Do not close an uninitialized
file pointer after a failure to create a temp file.
* kbx/keybox-openpgp.c (next_packet): Remove duplicate assignment of
PKTLEN.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jan 6 2016, 8:39 AM
Parents
rG6deafb92abe1: dirmngr: Silence one regression test.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rGdb82b6131d43: kbx: Avoid faulty fclose in an error case. (authored by Werner Koch <wk@gnupg.org>).Jan 6 2016, 8:39 AM