1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +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 801ea11f21
commit cd1b696b28
2 changed files with 45 additions and 9 deletions

2
NEWS
View file

@ -1,6 +1,8 @@
Noteworthy changes in version 2.0.22 (unreleased)
-------------------------------------------------
* Fixed bug with deeply nested compressed packets.
Noteworthy changes in version 2.0.21 (2013-08-19)
-------------------------------------------------