Commit 301f7a14295a3bdfaf406dbb5004d0784dc137ea

Christopher Thompson 2018-11-12T09:47:32

oss-fuzz: Add custom malloc with max limit to prevent OOM This adds the custom malloc/free functions from the old libpng_read_fuzzer to the upstream fuzzer to prevent clusterfuzz running into OOM. Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=904054 Contributed-by: Christopher Thompson <cthomp@chromium.org> Signed-off-by: Cosmin Truta <ctruta@gmail.com>