Home GnuPG
Diffusion GnuPG 75c64c2b6d77

dirmngr: Fix use-after-free due to a realloc shrinking.
75c64c2b6d77Unpublished

Unpublished Commit · Learn More

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

Description

dirmngr: Fix use-after-free due to a realloc shrinking.

* dirmngr/ks-engine-hkp.c (map_host): Do not use original pointer
after realloc.

vex01 reported and debugged the problem.

  • GnuPG-bug-id: T2107
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Oct 2 2015, 11:31 AM
Parents
rGddf9dd135acd: agent: Fix alignment problem with the second passphrase struct.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG75c64c2b6d77: dirmngr: Fix use-after-free due to a realloc shrinking. (authored by Werner Koch <wk@gnupg.org>).Oct 2 2015, 11:31 AM