Comment #6 on issue 403 by
jz...@google.com: [wasm] memory access out of bounds in VP8YuvToRgb
https://bugs.chromium.org/p/webp/issues/detail?id=403#c6Attached is test.webp scaled to 512x512. With this inserted before 1.webp in test.js I see:
1) WebP
decodes "test-512x512.webp":
RuntimeError: memory access out of bounds
at VP8YuvToRgb (wasm-function[416]:95)
at VP8YuvToRgba (wasm-function[415]:135)
at UpsampleRgbaLinePair_C (wasm-function[439]:739)
at EmitFancyRGB (wasm-function[94]:1110)
at CustomPut (wasm-function[87]:305)
at FinishRow (wasm-function[66]:2734)
at VP8ProcessRow (wasm-function[64]:383)
at ParseFrame (wasm-function[145]:494)
at VP8Decode (wasm-function[144]:466)
at DecodeInto (wasm-function[228]:754)
at Decode (wasm-function[230]:375)
at WebPDecodeRGBA (wasm-function[233]:106)
at Object.exports.decode (index.js:31:42)
at Context.it (test.js:25:25)
2) WebP
decodes "1.webp":