Home GnuPG
Diffusion GnuPG 2e8db5385450

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

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)

[dkg: rebased to STABLE-BRANCH-1-4]

  • Reported-by: Hanno Böck <hanno@hboeck.de>
  • Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>

Details

Provenance
wernerAuthored on Feb 22 2015, 5:10 AM
Parents
rG27d7addccf78: gpg: Limit the size of key packets to a sensible value.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG2e8db5385450: gpg: Fix a NULL-deref due to empty ring trust packets. (authored by Werner Koch <wk@gnupg.org>).Feb 23 2015, 10:45 AM