1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

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>
This commit is contained in:
Werner Koch 2013-10-02 09:11:43 +02:00
parent daba481fe7
commit 0899f6d4be
3 changed files with 46 additions and 9 deletions

2
NEWS
View file

@ -24,6 +24,8 @@ Noteworthy changes in version 2.1.0-betaN (unreleased)
* Fixed GPG to decrypt using an OpenPGP card.
* Fixed bug with deeply nested compressed packets.
Noteworthy changes in version 2.1.0beta3 (2011-12-20)
-----------------------------------------------------