Home GnuPG

sexp: Check args of gcry_sexp_build.
e606d5f1badaUnpublished

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
rCf850add813d7: cipher: Fix a segv in case of calling with wrong parameters.
Branches
Unknown
Tags
Unknown

Event Timeline

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