diff options
-rw-r--r-- | deflate.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -179,6 +179,11 @@ local const config configuration_table[10] = { | |||
179 | * bit values at the expense of memory usage). We slide even when level == 0 to | 179 | * bit values at the expense of memory usage). We slide even when level == 0 to |
180 | * keep the hash table consistent if we switch back to level > 0 later. | 180 | * keep the hash table consistent if we switch back to level > 0 later. |
181 | */ | 181 | */ |
182 | #if defined(__has_feature) | ||
183 | # if __has_feature(memory_sanitizer) | ||
184 | __attribute__((no_sanitize("memory"))) | ||
185 | # endif | ||
186 | #endif | ||
182 | local void slide_hash(deflate_state *s) { | 187 | local void slide_hash(deflate_state *s) { |
183 | unsigned n, m; | 188 | unsigned n, m; |
184 | Posf *p; | 189 | Posf *p; |