mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-13 14:34:33 +02:00
add WEBP_MSAN
and use it to suppress a false positive related to data that passes through RGBA32PackedToPlanar_16b_SSE41(). Current versions (tested with clang 13.0.1, using -O0 and the build from oss-fuzz of enc_dec_fuzzer) model shuffles incorrectly reporting use of uninitialized data related to the alpha change that's removed when converting to YUV. valgrind behaves correctly, however. Bug: webp:573 Change-Id: If76997668dcdd436adf280a2e6dcffba766a2875
This commit is contained in:
@ -147,6 +147,12 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(__has_feature)
|
||||
#if __has_feature(memory_sanitizer)
|
||||
#define WEBP_MSAN
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(WEBP_USE_THREAD) && !defined(_WIN32)
|
||||
#include <pthread.h> // NOLINT
|
||||
|
||||
|
Reference in New Issue
Block a user