Home GnuPG

When encoding form data skip deleted items

Description

When encoding form data skip deleted items

* src/form.c (encode_formdata): Skip if values is NULL.

Without that check we could run into a NULL-deref when a dictionary
with deleted items is provided.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on May 9 2017, 7:17 PM
Parents
rPAY4d54f1a899f0: New function decrypt_string.
Branches
Unknown
Tags
Unknown