Home GnuPG
Diffusion GnuPG f542826b04e3

gpgkey2ssh: clean up varargs
f542826b04e3Unpublished

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
gniibeCommitted on Jan 13 2015, 2:52 AM
Parents
rG01b364b6da2f: doc: Fix memory leak in yat2m.
Branches
Unknown
Tags
Unknown

Event Timeline

NIIBE Yutaka <gniibe@fsij.org> committed rGf542826b04e3: gpgkey2ssh: clean up varargs (authored by Daniel Kahn Gillmor <dkg@fifthhorseman.net>).Jan 13 2015, 2:52 AM