Fix bug in gzwrite.c that produced corrupt gzip files.

This commit is contained in:
Mark Adler 2017-01-02 16:17:43 -08:00
parent bc5503b224
commit 0b5c158cc7
1 changed files with 1 additions and 0 deletions

View File

@ -117,6 +117,7 @@ local int gz_comp(state, flush)
if (strm->avail_out == 0) {
strm->avail_out = state->size;
strm->next_out = state->out;
state->x.next = state->out;
}
}