Support files compressed by 'pigz'
* src/decompress.c (md5_gz_stream): Check 'stream.avail_in' as well. (Bug#63832) Copyright-paperwork-exempt: yes
This commit is contained in:
parent
a902156068
commit
46b6d17505
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ md5_gz_stream (FILE *source, void *resblock)
|
|||
return -1;
|
||||
|
||||
accumulate_and_process_md5 (out, MD5_BLOCKSIZE - stream.avail_out, &ctx);
|
||||
} while (!stream.avail_out);
|
||||
} while (stream.avail_in && !stream.avail_out);
|
||||
|
||||
} while (res != Z_STREAM_END);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue