commit | 301f7a14295a3bdfaf406dbb5004d0784dc137ea | [log] [tgz] |
---|---|---|
author | Christopher Thompson <cthomp@chromium.org> | Mon Nov 12 09:47:32 2018 -0800 |
committer | Cosmin Truta <ctruta@gmail.com> | Thu Apr 25 00:37:57 2019 -0400 |
tree | e6d90a8f831d6217d97fca74bd75a55ecde1d5dc | |
parent | 386707c6d19b974ca2e3db7f5c61873813c6fe44 [diff] |
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>