mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-23 19:04:25 +01: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.