GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Keep next_in and avail_in in sync in bz2/lzma/zlib decompressor reset paths · Issue #149105 · python/cpython Open Labels extension-modulesC modules in the Modules dirC modules in the Modules dirtype-refactorCode refactoring (with no changes in behavior)Code refactoring (with no changes in behavior) DescriptionBug reportBug description:(This was found by Gemini, orchestrated by Dirk Mueller at SUSE) For GHSA-pg25-7cx5-cvcm the "next_in" pointers were reset to NULL. However if the decompressor is reused, the "avail_in_real" counter should also be reset to "0" at this time, as if its reused again, next_in and avail_in_real might not be in sync again. This affects For bz2, everywhere where next_in is set to NULL, avail_in_real also needs to be set to 0. similar for the others. This is largely hardening. It is not clear if these use cases exist. CPython versions tested on:CPython main branch Operating systems tested on:Linux Activity
MetadataMetadataAssigneesLabelsextension-modulesC modules in the Modules dirC modules in the Modules dirtype-refactorCode refactoring (with no changes in behavior)Code refactoring (with no changes in behavior) Projects
MilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |