Comment #5 on issue 376 by
pdk...@gmail.com: oss-fuzz
https://bugs.chromium.org/p/webp/issues/detail?id=376#c5I noticed that the particular code path used by Chrome (or skia rather) is already covered by many fuzzers, but simple API and animation API perhaps not as much, or maybe not at all. And even in the advanced API there are different paths, like WebPIAppend or WebPIUpdate, decoding in a single or multiple chunks, using internal and external buffer, passing different WebPDecoderOptions and so forth.
I've not noticed any OOM by limiting the image (or canvas) size to 1024**2, and limiting to not too many frames.
Now the question is how do you want to proceed? The fuzz targets, which are just single files, can be either hosted by oss-fuzz, or directly in the libwebp repository. oss-fuzz prefers the later.