diff options
| author | Amritpal Singh | 2023-06-02 10:51:21 +0530 |
|---|---|---|
| committer | Eli Zaretskii | 2023-06-08 12:40:44 +0300 |
| commit | 46b6d175054e8f6bf7cb45e112048c0cf02bfee9 (patch) | |
| tree | a54e83603a1ff6d0a68a5503b96b9d587bfe5888 /src | |
| parent | a902156068ab071f93cc9bbd34cd320919b74064 (diff) | |
| download | emacs-46b6d175054e8f6bf7cb45e112048c0cf02bfee9.tar.gz emacs-46b6d175054e8f6bf7cb45e112048c0cf02bfee9.zip | |
Support files compressed by 'pigz'
* src/decompress.c (md5_gz_stream): Check 'stream.avail_in' as
well. (Bug#63832)
Copyright-paperwork-exempt: yes
Diffstat (limited to 'src')
| -rw-r--r-- | src/decompress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decompress.c b/src/decompress.c index 6ef17db07d6..162f6167b73 100644 --- a/src/decompress.c +++ b/src/decompress.c | |||
| @@ -151,7 +151,7 @@ md5_gz_stream (FILE *source, void *resblock) | |||
| 151 | return -1; | 151 | return -1; |
| 152 | 152 | ||
| 153 | accumulate_and_process_md5 (out, MD5_BLOCKSIZE - stream.avail_out, &ctx); | 153 | accumulate_and_process_md5 (out, MD5_BLOCKSIZE - stream.avail_out, &ctx); |
| 154 | } while (!stream.avail_out); | 154 | } while (stream.avail_in && !stream.avail_out); |
| 155 | 155 | ||
| 156 | } while (res != Z_STREAM_END); | 156 | } while (res != Z_STREAM_END); |
| 157 | 157 | ||