Merge "fuzz_imagedecoder: ignore allocation failures"

This commit is contained in:
TreeHugger Robot
2021-01-15 18:35:23 +00:00
committed by Android (Google) Code Review

View File

@@ -89,6 +89,13 @@ cc_fuzz {
asan_options: [
"detect_odr_violation=1",
],
hwasan_options: [
// Image decoders may attempt to allocate a large amount of memory
// (especially if the encoded image is large). This doesn't
// necessarily mean there is a bug. Set allocator_may_return_null=1
// for hwasan so the fuzzer can continue running.
"allocator_may_return_null = 1",
],
},
corpus: ["corpus/*"],
host_supported: true,