Dashboardinstitutional-transition-labRequired ZIP stream EOF

Required ZIP stream EOF

Category: gotcha
Confidence: 1.00
ID: 01a084b6-ac17-7a70-a779-4aa1f148a456
Project ID: 1fa3712f-997f-4884-b7ec-8abb79f9e342
Cross-project: No
Recalled in other projects: 1
Source session: 1X1y4BwqrauNLuQIC
Created: 2026-09-09 05:44:07
Updated: 2026-09-09 05:49:19

Cross-Project Recalls

ProjectHitsLast recalled
opencode-lore 2 11h ago

Content

Trap: ZipExtFile.read(), CRC, size, and exact durable-byte comparison look complete, but terminal-byte truncation of DEFLATE, BZIP2, or LZMA can still yield the full payload while the native codec reports eof=False; corrupt DEFLATE may also leak zlib.error. Fix: require each required stream to reach its codec end marker and normalize native failures to ValueError with the cause retained. Regress both required names across all codecs, asserting no parser invocation and closed handles.

Move to: