summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlava Barinov <v.barinov@samsung.com>2016-10-07 11:50:57 (GMT)
committerSlava Barinov <v.barinov@samsung.com>2016-10-07 11:51:01 (GMT)
commit8fad9b4cfeca1fabe2510f7f0aa8758ff74d818d (patch)
tree3f5e3fa6172b496df8dab3caa0594f9cccaa1e62
parent77005f0338e3c1ab8ab58100f705c03b8966a320 (diff)
downloadmake-sandbox/vbarinov/ubsan.zip
make-sandbox/vbarinov/ubsan.tar.gz
make-sandbox/vbarinov/ubsan.tar.bz2
Switch off UBSan for sha1 to reduce number of log messagessandbox/vbarinov/ubsan
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
-rw-r--r--strcache.c1
1 files changed, 1 insertions, 0 deletions
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)
{