mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Fix bug#1040.
This commit is contained in:
parent
e9a1d6da83
commit
275ad3fa26
2 changed files with 7 additions and 2 deletions
|
@ -441,8 +441,8 @@ parse( IOBUF inp, PACKET *pkt, int onlykeypkts, off_t *retpos,
|
|||
}
|
||||
}
|
||||
|
||||
if (pktlen == 0xffffffff) {
|
||||
/* with a some probability this is caused by a problem in the
|
||||
if (pktlen == (unsigned long)(-1)) {
|
||||
/* With some probability this is caused by a problem in the
|
||||
* the uncompressing layer - in some error cases it just loops
|
||||
* and spits out 0xff bytes. */
|
||||
log_error ("%s: garbled packet detected\n", iobuf_where(inp) );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue