10000 extmod: Update uzlib to 1.2.2. · lispmeister/micropython@67e8108 · GitHub
[go: up one dir, main page]

Skip to content

Commit 67e8108

Browse files
committed
extmod: Update uzlib to 1.2.2.
Fixes use of uninitialized structure field by tinf_uncompress().
1 parent 93bb7df commit 67e8108

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

extmod/uzlib/tinflate.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,7 @@ int tinf_uncompress(void *dest, unsigned int *destLen,
458458

459459
d.destStart = (unsigned char *)dest;
460460
d.destRemaining = *destLen;
461+
d.destSize = *destLen;
461462

462463
res = tinf_uncompress_dyn(&d);
463464

0 commit comments

Comments
 (0)
0