mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-15 07:42:42 +00: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.