Home GnuPG

sexp: Check args of gcry_sexp_build.
1047a7b41c9bUnpublished

Unpublished Commit · Learn More

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

Description

sexp: Check args of gcry_sexp_build.

* src/sexp.c (do_vsexp_sscan): Return error for invalid args.

This helps to avoid usage errors by passing NULL for the return
variable and the format string.

Details

Provenance
wernerAuthored on Aug 21 2014, 2:12 PM
Parents
rCf853993737e5: cipher: Fix a segv in case of calling with wrong parameters.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rC1047a7b41c9b: sexp: Check args of gcry_sexp_build. (authored by Werner Koch <wk@gnupg.org>).Aug 21 2014, 2:12 PM