diff --git a/projects/lzo/all_lzo_compress.cc b/projects/lzo/all_lzo_compress.cc index 13c3d113d..510f6aeb0 100644 --- a/projects/lzo/all_lzo_compress.cc +++ b/projects/lzo/all_lzo_compress.cc @@ -202,6 +202,10 @@ void FuzzLzoAlgorithm(const LzoAlgorithm& algorithm, std::unique_ptr compressed_buffer( new uint8_t[algorithm.GetMaxCompressedSize(input_buffer.size())]); +#if MEMORY_SANITIZER + __msan_unpoison(working_buffer.get(), algorithm.working_memory_size); +#endif + lzo_uint compressed_size; if (algorithm.compress_fn(input_buffer.data(), input_buffer.size(), compressed_buffer.get(), &compressed_size,