-
Ben Wagner authored
By default Chromium's global operator new will return nullptr for unsatisfiable requests. Chromium changes this behavior by calling base::EnableTerminationOnOutOfMemory() to set a new_hanlder which will properly abort. All fuzzers should also do this to match this behavior. This updates filter_fuzz_stub to make this call, but other fuzzers may also need to be updated. BUG=chromium:763213 Change-Id: Ic112ba15f9ed96e4c9412a7c52737d8489d6c615 Reviewed-on: https://chromium-review.googlesource.com/677546 Reviewed-by: Primiano Tucci <primiano@chromium.org> Reviewed-by: Max Moroz <mmoroz@chromium.org> Reviewed-by: Ben Wagner <bungeman@chromium.org> Commit-Queue: Ben Wagner <bungeman@chromium.org> Cr-Commit-Position: refs/heads/master@{#504046}
98b92d99