mirror of
https://github.com/webmproject/libwebp.git
synced 2024-11-19 20:08:28 +01:00
fuzz_utils.h: lower kFuzzPxLimit w/ASan
prevents some timeouts when decoding large jpeg source images. Change-Id: I5cb6a10cbf0658a71fa9f49fc7da4c8d3e70fa00
This commit is contained in:
parent
8f187b9f7f
commit
8dd80ef814
@ -37,7 +37,7 @@ static const size_t kFuzzPxLimit = 1024 * 1024 / 10;
|
||||
#elif !defined(__has_feature) // Clang
|
||||
static const size_t kFuzzPxLimit = 1024 * 1024;
|
||||
#elif __has_feature(address_sanitizer) || __has_feature(memory_sanitizer)
|
||||
static const size_t kFuzzPxLimit = 1024 * 1024 / 10;
|
||||
static const size_t kFuzzPxLimit = 1024 * 1024 / 18;
|
||||
#else
|
||||
static const size_t kFuzzPxLimit = 1024 * 1024;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user