Home GnuPG
Diffusion GnuPG bd6074292541

g10: Fix use-after-free.
bd6074292541Unpublished

Unpublished Commit ยท Learn More

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

Description

g10: Fix use-after-free.

* g10/getkey.c (pubkey_cmp): Make a copy of the user id.
(get_best_pubkey_byname): Free the user ids.
  • Signed-off-by: Justus Winter <justus@g10code.com>

Details

Provenance
justusAuthored on Nov 15 2016, 3:06 PM
Parents
rG26c7c1d72c5f: sm: New stub option --compliance.
Branches
Unknown
Tags
Unknown

Event Timeline

Justus Winter <justus@g10code.com> committed rGbd6074292541: g10: Fix use-after-free. (authored by Justus Winter <justus@g10code.com>).Nov 15 2016, 3:38 PM