diff options
author | Kostya Serebryany <kcc@google.com> | 2019-01-31 19:04:19 -0800 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2019-01-31 19:04:19 -0800 |
commit | 3a03a358de9e6260f18fb0d1dc07d72e182376bf (patch) | |
tree | 1e1ef6813558fdc995b73b27e0b4235545a4a0b5 /projects/libpng-proto | |
parent | 4b34eb1753f057d251724ef04164cf242ce650d3 (diff) | |
download | oss-fuzz-3a03a358de9e6260f18fb0d1dc07d72e182376bf.tar.gz |
[libpng-proto] suppress leak reports until https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12716 is fixed
Diffstat (limited to 'projects/libpng-proto')
-rw-r--r-- | projects/libpng-proto/libpng_transforms_fuzzer.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/projects/libpng-proto/libpng_transforms_fuzzer.cc b/projects/libpng-proto/libpng_transforms_fuzzer.cc index 4cce234fd..e46a1fa7e 100644 --- a/projects/libpng-proto/libpng_transforms_fuzzer.cc +++ b/projects/libpng-proto/libpng_transforms_fuzzer.cc @@ -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"; +} |