From 8fad9b4cfeca1fabe2510f7f0aa8758ff74d818d Mon Sep 17 00:00:00 2001 From: Slava Barinov Date: Fri, 7 Oct 2016 14:50:57 +0300 Subject: [PATCH] Switch off UBSan for sha1 to reduce number of log messages Signed-off-by: Slava Barinov --- strcache.c | 1 + 1 file changed, 1 insertion(+) diff --git a/strcache.c b/strcache.c index ff6a2d1..2fdee69 100644 --- a/strcache.c +++ b/strcache.c @@ -72,6 +72,7 @@ new_cache () return new; } +__attribute__((no_sanitize_undefined)) static const char * add_string (const char *str, unsigned int len) { -- 2.34.1