[libpng-proto] suppress leak reports until https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12716 is fixed

This commit is contained in:
Kostya Serebryany 2019-01-31 19:04:19 -08:00
parent 4b34eb1753
commit 3a03a358de
1 changed files with 7 additions and 0 deletions

View File

@ -132,3 +132,10 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
png_image_free(&image);
return 0;
}
extern "C" const char *__asan_default_options() {
// TODO: remove this once
// https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12716
// is fixed.
return "detect_leaks=0";
}