Home GnuPG
Diffusion GnuPG f10b184e4801

gpg: Limit the nesting level of I/O filters.
f10b184e4801Unpublished

Unpublished Commit · Learn More

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

Description

gpg: Limit the nesting level of I/O filters.

* until/iobuf.c (MAX_NESTING_FILTER): New.
(iobuf_push_filter2): Limit the nesting level.

This is a more general fix for the nested compression packet bug. In
particular this helps g10/import.c:read_block to stop pushing
compression filters onto an iobuf stream.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Oct 4 2013, 8:20 AM
Parents
rGd90a1d23404f: gpg: Fix bug with deeply nested compressed packets.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rGf10b184e4801: gpg: Limit the nesting level of I/O filters. (authored by Werner Koch <wk@gnupg.org>).Oct 4 2013, 8:45 PM