DashboardclidSYM ZIP64 and EOCD validation

dSYM ZIP64 and EOCD validation

Category: gotcha
Confidence: 1.00
ID: 01a0336b-3fba-7c6e-8c81-7ca7585a2c1c
Project ID: c760f4f9-42b0-4ce0-b36d-6b8c38d770b2
Cross-project: No
Recalled in other projects: 0
Source session: 0X2iUX9QvUoYwyqSY
Created: 2026-08-24 08:04:05
Updated: 2026-08-24 10:57:41

Content

Trap: checking only classic ZIP metadata or accepting the first signature-like EOCD record looks sufficient because ordinary fixtures are simple, but ZIP64 archives and signatures inside comments can bypass validation or make fflate miss entries. Fix: validate classic/ZIP64 central-directory bounds, safe integers, paths, and Unix symlink bits before extraction; select the EOCD whose declared comment ends exactly at the archive boundary, then strip only the validated comment before unzipSync().

Move to: