Home GnuPG
Diffusion GnuPG 351bca9047d7

gpgkey2ssh: clean up varargs
351bca9047d7Unpublished

Unpublished Commit · Learn More

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

Description

gpgkey2ssh: clean up varargs

* tools/gpgkey2ssh.c (key_to_blob) : ensure that va_end is called.

stdarg(3) says:

Each invocation of va_start() must be matched by a
corresponding invocation of va_end() in the same function.

Observed by Joshua Rogers <honey@internot.info>

Details

Provenance
dkgAuthored on Dec 19 2014, 11:12 PM
wernerCommitted on Dec 22 2014, 12:49 PM
Parents
rG6056d2467310: doc: Fix memory leak in yat2m.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG351bca9047d7: gpgkey2ssh: clean up varargs (authored by Daniel Kahn Gillmor <dkg@fifthhorseman.net>).Dec 22 2014, 12:49 PM