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:
parent
daba481fe7
commit
0899f6d4be
3 changed files with 46 additions and 9 deletions
|
@ -786,6 +786,7 @@ pkd:0:1024:B665B1435F4C2 .... FF26ABB:
|
|||
*** UNEXPECTED <what>
|
||||
Unexpected data has been encountered. Codes for WHAT are:
|
||||
- 0 :: Not further specified
|
||||
- 1 :: Corrupted message structure
|
||||
|
||||
*** TRUNCATED <maxno>
|
||||
The output was truncated to MAXNO items. This status code is
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue