Commit dc4ca03c authored by Poul-Henning Kamp's avatar Poul-Henning Kamp Committed by Dridi Boukelmoune

Fix a bug in our vgz-extension which is only triggered by vtest and only after 7565cdba

parent 0c356af2
......@@ -1805,6 +1805,9 @@ local block_state deflate_stored(s, flush)
s->strm->total_out += len;
}
} while (last == 0);
if (last)
s->strm->stop_bit =
(s->strm->total_out + s->pending) * 8 + s->bi_valid;
/* Update the sliding window with the last s->w_size bytes of the copied
* data, or append all of the copied data to the existing window if less
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment