mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-29 07:58:28 +00:00
Support files compressed by 'pigz'
* src/decompress.c (md5_gz_stream): Check 'stream.avail_in' as
well. (Bug#63832)
Copyright-paperwork-exempt: yes
(cherry picked from commit 46b6d17505
)
This commit is contained in:
parent
0c29f53ab8
commit
608a8757d9
@ -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…
Reference in New Issue
Block a user