projects
/
unzip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
21006e5
)
Fixed a cleanup bug
master
author
Robert Pengelly
<robertapengelly@hotmail.com>
Wed, 19 Aug 2026 13:34:34 +0000
(14:34 +0100)
committer
Robert Pengelly
<robertapengelly@hotmail.com>
Wed, 19 Aug 2026 13:34:34 +0000
(14:34 +0100)
inflate.c
patch
|
blob
|
history
diff --git
a/inflate.c
b/inflate.c
index 27a23accaffc357b671f9d0eb2d828f0de1841f7..a7c3684586dab12e922015410dbb493d60b48515 100644
(file)
--- 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. */
} else if (litlen == LITLEN_EOB) {
/* End of block. */
+ if (!istream_advance (is, used_tot)) {
+ return HWINF_ERR;
+ }
+
return HWINF_OK;
}
return HWINF_OK;
}