summaryrefslogtreecommitdiffstatshomepage
path: root/extmod/uzlib/tinflate.c
diff options
context:
space:
mode:
Diffstat (limited to 'extmod/uzlib/tinflate.c')
-rw-r--r--extmod/uzlib/tinflate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/extmod/uzlib/tinflate.c b/extmod/uzlib/tinflate.c
index 74b1bc30f3..faf27e5739 100644
--- a/extmod/uzlib/tinflate.c
+++ b/extmod/uzlib/tinflate.c
@@ -458,6 +458,7 @@ int tinf_uncompress(void *dest, unsigned int *destLen,
d.destStart = (unsigned char *)dest;
d.destRemaining = *destLen;
+ d.destSize = *destLen;
res = tinf_uncompress_dyn(&d);