artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b91cf01
)
sync with userland
author
tb
<tb@openbsd.org>
Sun, 13 Aug 2023 12:25:36 +0000
(12:25 +0000)
committer
tb
<tb@openbsd.org>
Sun, 13 Aug 2023 12:25:36 +0000
(12:25 +0000)
sys/lib/libz/deflate.c
patch
|
blob
|
history
diff --git
a/sys/lib/libz/deflate.c
b/sys/lib/libz/deflate.c
index
2d7a265
..
4d62332
100644
(file)
--- a/
sys/lib/libz/deflate.c
+++ b/
sys/lib/libz/deflate.c
@@
-175,6
+175,11
@@
local const config configuration_table[10] = {
* bit values at the expense of memory usage). We slide even when level == 0 to
* keep the hash table consistent if we switch back to level > 0 later.
*/
+#if defined(__has_feature)
+# if __has_feature(memory_sanitizer)
+ __attribute__((no_sanitize("memory")))
+# endif
+#endif
local void slide_hash(deflate_state *s) {
unsigned n, m;
Posf *p;