We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f59e862 commit 3e12b51Copy full SHA for 3e12b51
test/default/sodium_utils3.c
@@ -16,6 +16,9 @@
16
#ifdef __SANITIZE_ADDRESS__
17
# warning The sodium_utils3 test is expected to fail with address sanitizer
18
#endif
19
+#ifdef __SANITIZE_THREAD__
20
+# warning The sodium_utils3 test is expected to fail with thread sanitizer
21
+#endif
22
23
__attribute__((noreturn)) static void
24
segv_handler(int sig)
@@ -75,7 +78,7 @@ main(void)
75
78
sodium_mprotect_readwrite(buf);
76
79
77
80
-#if defined(HAVE_CATCHABLE_SEGV) && !defined(__EMSCRIPTEN__) && !defined(__SANITIZE_ADDRESS__)
81
+#if defined(HAVE_CATCHABLE_SEGV) && !defined(__EMSCRIPTEN__) && !defined(__SANITIZE_ADDRESS__) && !defined(__SANITIZE_THREAD__)
82
sodium_memzero(((unsigned char *) buf) - 8, 8U);
83
sodium_mprotect_readonly(buf);
84
sodium_free(buf);
0 commit comments