Home GnuPG
Diffusion GnuPG 376417ab63eb

Don't segfault if the first 'auto-key-locate' option is 'clear'.
376417ab63ebUnpublished

Unpublished Commit ยท Learn More

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

Description

Don't segfault if the first 'auto-key-locate' option is 'clear'.

* g10/getkey.c (free_akl): If AKL is NULL, just return.

Backported from f2ee673c99825d5189631031ddec2dbf54dbd482. Note:
unlike in 2.1, in 2.0 this bug is not (currently) triggered since
parse_auto_key_locate doesn't recognize "clear".

  • Signed-off-by: Neal H. Walfield <neal@g10code.com>.
  • Reported-by: Sami Farin.
  • GnuPG-bug-id: T2045

Details

Provenance
Neal H. Walfield <neal@g10code.com>Authored on Jul 16 2015, 9:57 AM
nealCommitted on Jul 16 2015, 11:36 AM
Parents
rG022719695e39: scd: pinpad workaround for PC/SC implementations.
Branches
Unknown
Tags
Unknown

Event Timeline

Neal H. Walfield <neal@gnu.org> committed rG376417ab63eb: Don't segfault if the first 'auto-key-locate' option is 'clear'. (authored by Neal H. Walfield <neal@g10code.com>).Jul 16 2015, 11:36 AM