extmod: Update uzlib to 1.2.2.

Fixes use of uninitialized structure field by tinf_uncompress().
This commit is contained in:
Paul Sokolovsky 2016-02-01 23:05:45 +02:00
parent 93bb7dffd2
commit 67e8108345

View File

@ -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);