mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-05 21:42:59 -05:00
The WebP chunk walk added the chunk length to the offset without a checked add, so a length near u32::MAX overflowed on 32-bit targets (wasm32) with overflow checks on. It now reads the chunk through the same checked slice helper as the PNG, JPEG and TIFF readers.