From: Robert Pengelly Date: Wed, 19 Aug 2026 13:34:34 +0000 (+0100) Subject: Fixed a cleanup bug X-Git-Url: https://git.candlhat.org/?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=unzip.git Fixed a cleanup bug --- diff --git a/inflate.c b/inflate.c index 27a23ac..a7c3684 100644 --- a/inflate.c +++ b/inflate.c @@ -95,6 +95,10 @@ static inf_stat_t inf_block (istream_t *is, FILE *outfile, uint64_t dst_cap, uin } else if (litlen == LITLEN_EOB) { /* End of block. */ + if (!istream_advance (is, used_tot)) { + return HWINF_ERR; + } + return HWINF_OK; }