summaryrefslogtreecommitdiff
path: root/docs/esp8266
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2025-03-18 00:34:20 +1100
committerDamien George <damien@micropython.org>2025-03-27 11:58:59 +1100
commitfa42487e45620534440256c9b29e4526f3137de9 (patch)
tree386161d263e02896aff011de16ff674ada8e4ef8 /docs/esp8266
parentfdc0c6f8f673cf5e6d2b02ff6820bcc14afe9c94 (diff)
extmod/moddeflate: Keep DeflateIO state consistent on window alloc fail.
Allocation of a large compression window may fail, and in that case keep the `DeflateIO` state consistent so its other methods (such as `close()`) still work. Consistency is kept by only updating the `self->write` member if the window allocation succeeds. Thanks to @jimmo for finding the bug. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'docs/esp8266')
0 files changed, 0 insertions, 0 deletions