Home GnuPG
Diffusion GnuPG 40f476867c58

scd: fix get_public_key for OpenPGPcard v1.0.
40f476867c58Unpublished

Unpublished Commit · Learn More

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

Description

scd: fix get_public_key for OpenPGPcard v1.0.

* scd/app-openpgp.c (get_public_key): correctly close 'fp' upon use.

Inside the get_public_key function, 'fp' was opened using popen, but
incorrectly closed using fclose.

Details

Provenance
Joshua Rogers <git@internot.info>Authored on Dec 20 2014, 1:38 AM
gniibeCommitted on Jan 8 2015, 3:16 AM
Parents
rG4f0d526b7df8: gpg: release DEK soon after its use.
Branches
Unknown
Tags
Unknown

Event Timeline

NIIBE Yutaka <gniibe@fsij.org> committed rG40f476867c58: scd: fix get_public_key for OpenPGPcard v1.0. (authored by Joshua Rogers <git@internot.info>).Jan 8 2015, 3:16 AM