Home GnuPG
Diffusion GnuPG d90a1d23404f

gpg: Fix bug with deeply nested compressed packets.
d90a1d23404fUnpublished

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
rG9dc6dd057210: Fix bug in mpi_tdiv_q_2exp.
Branches
Unknown
Tags
Unknown

Event Timeline

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