Home GnuPG
Diffusion GnuPG 2aa106d6a4e2

dirmngr: Fix double free of a hash context in the error case.

Description

dirmngr: Fix double free of a hash context in the error case.

* dirmngr/crlcache.c: Clearly document that this fucntions takes
ownership of MD.
(abort_sig_check): Allow NULL for MD.
(crl_parse_insert): Immediately set MD to NULL.  Remove check for md
before a calling abort_sig_check.
  • GnuPG-bug-id: T3510
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Nov 17 2017, 10:34 AM
Parents
rG4f5afaf1fdb5: w32: Fix default registry path
Branches
Unknown
Tags
Unknown
Tasks
T3510: dirmngr: Crash when CRL signature check fails