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: 904054 Change-Id: Ibb824beb191cb5657687c55ee2db8c7783547bad Reviewed-on: https://chromium-review.googlesource.com/c/1330936 Commit-Queue: Christopher Thompson <cthomp@chromium.org> Reviewed-by:Leon Scroggins <scroggo@chromium.org> Reviewed-by:
Max Moroz <mmoroz@chromium.org> Cr-Commit-Position: refs/heads/master@{#607622}
Showing
Please register or sign in to comment