extmod: Update uzlib to 1.2.2.
Fixes use of uninitialized structure field by tinf_uncompress().
This commit is contained in:
parent
93bb7dffd2
commit
67e8108345
@ -458,6 +458,7 @@ int tinf_uncompress(void *dest, unsigned int *destLen,
|
|||||||
|
|
||||||
d.destStart = (unsigned char *)dest;
|
d.destStart = (unsigned char *)dest;
|
||||||
d.destRemaining = *destLen;
|
d.destRemaining = *destLen;
|
||||||
|
d.destSize = *destLen;
|
||||||
|
|
||||||
res = tinf_uncompress_dyn(&d);
|
res = tinf_uncompress_dyn(&d);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user