]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Disable ottery wipe stack as it breaks asan sometimes
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 10 Dec 2019 11:22:16 +0000 (11:22 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 10 Dec 2019 11:22:16 +0000 (11:22 +0000)
contrib/libottery/CMakeLists.txt

index 4a6ee31db50544a118ab9168555402704571e801..84da8136a7fbff48ce24efc6e432a5e9b20d184a 100644 (file)
@@ -7,7 +7,7 @@ SET(OTTERYSRC            chacha_merged.c
                          aes_cryptobox.c)
 ADD_LIBRARY(ottery STATIC ${OTTERYSRC})
 
-SET(OTTERY_CFLAGS "-DBUILD_RSPAMD -DOTTERY_NO_PID_CHECK -DOTTERY_NO_INIT_CHECK")
+SET(OTTERY_CFLAGS "-DBUILD_RSPAMD -DOTTERY_NO_PID_CHECK -DOTTERY_NO_INIT_CHECK -DOTTERY_NO_WIPE_STACK")
 IF(ENABLE_FULL_DEBUG MATCHES "OFF")
 if ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU")
     SET(OTTERY_CFLAGS "${OTTERY_CFLAGS} -O3")