From 67e810834569ec63d85016bff8e619a933b65c3a Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Mon, 1 Feb 2016 23:05:45 +0200 Subject: [PATCH] extmod: Update uzlib to 1.2.2. Fixes use of uninitialized structure field by tinf_uncompress(). --- extmod/uzlib/tinflate.c | 1 + 1 file changed, 1 insertion(+) 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);