Home GnuPG
Diffusion GnuPG 2b2f2767851e

curl-shim: clean up varargs
2b2f2767851eUnpublished

Unpublished Commit · Learn More

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

Description

curl-shim: clean up varargs

* keyserver/curl-shim.c (curl_easy_setopt) : 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>

[dkg: rebased to STABLE-BRANCH-1-4]

  • Debian-Bug-Id: ##773475
  • Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>

Details

Provenance
dkgAuthored on Feb 22 2015, 5:10 AM
wernerCommitted on Feb 23 2015, 10:52 AM
Parents
rGcf8d89b0ce69: gpg: Print better diagnostics for keyserver operations.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG2b2f2767851e: curl-shim: clean up varargs (authored by Daniel Kahn Gillmor <dkg@fifthhorseman.net>).Feb 23 2015, 10:52 AM