File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 16
16
#ifdef __SANITIZE_ADDRESS__
17
17
# warning The sodium_utils3 test is expected to fail with address sanitizer
18
18
#endif
19
+ #ifdef __SANITIZE_THREAD__
20
+ # warning The sodium_utils3 test is expected to fail with thread sanitizer
21
+ #endif
19
22
20
23
__attribute__((noreturn )) static void
21
24
segv_handler (int sig )
@@ -75,7 +78,7 @@ main(void)
75
78
sodium_mprotect_readwrite (buf );
76
79
#endif
77
80
78
- #if defined(HAVE_CATCHABLE_SEGV ) && !defined(__EMSCRIPTEN__ ) && !defined(__SANITIZE_ADDRESS__ )
81
+ #if defined(HAVE_CATCHABLE_SEGV ) && !defined(__EMSCRIPTEN__ ) && !defined(__SANITIZE_ADDRESS__ ) && !defined( __SANITIZE_THREAD__ )
79
82
sodium_memzero (((unsigned char * ) buf ) - 8 , 8U );
80
83
sodium_mprotect_readonly (buf );
81
84
sodium_free (buf );
You can’t perform that action at this time.
0 commit comments