Home GnuPG
Diffusion GnuPG cd1b696b2823

gpg: Fix bug with deeply nested compressed packets.
cd1b696b2823Unpublished

Unpublished Commit · Learn More

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

Description

gpg: Fix bug with deeply nested compressed packets.

* g10/mainproc.c (MAX_NESTING_DEPTH): New.
(proc_compressed): Return an error code.
(check_nesting): New.
(do_proc_packets): Check packet nesting depth.  Handle errors from
check_compressed.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Oct 2 2013, 9:11 AM
Parents
rG801ea11f21e4: 2009-11-10 Marcus Brinkmann <marcus@g10code.de>
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rGcd1b696b2823: gpg: Fix bug with deeply nested compressed packets. (authored by Werner Koch <wk@gnupg.org>).Oct 2 2013, 9:17 AM