commit f1963ee: [Minor] Disable ottery wipe stack as it breaks asan sometimes

Vsevolod Stakhov vsevolod at highsecure.ru
Tue Dec 10 11:28:06 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-12-10 11:22:16 +0000
URL: https://github.com/rspamd/rspamd/commit/f1963ee16c64a66889d437c91f240bc711579007 (HEAD -> master)

[Minor] Disable ottery wipe stack as it breaks asan sometimes

---
 contrib/libottery/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/libottery/CMakeLists.txt b/contrib/libottery/CMakeLists.txt
index 4a6ee31db..84da8136a 100644
--- a/contrib/libottery/CMakeLists.txt
+++ b/contrib/libottery/CMakeLists.txt
@@ -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")


More information about the Commits mailing list