Home GnuPG
Diffusion GnuPG 7e12ec4c7d6d

gpg: Fix a NULL-deref due to empty ring trust packets.
7e12ec4c7d6dUnpublished

Unpublished Commit · Learn More

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

Description

gpg: Fix a NULL-deref due to empty ring trust packets.

* g10/parse-packet.c (parse_trust): Always allocate a packet.

(back ported from commit 39978487863066e59bb657f5fe4e8baab510da7e)

  • Reported-by: Hanno Böck <hanno@hboeck.de>
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Feb 12 2015, 6:52 PM
Parents
rGa55c2125380a: kbx: Fix resource leak.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG7e12ec4c7d6d: gpg: Fix a NULL-deref due to empty ring trust packets. (authored by Werner Koch <wk@gnupg.org>).Feb 12 2015, 6:52 PM