Switch off UBSan for sha1 to reduce number of log messages sandbox/vbarinov/ubsan
authorSlava Barinov <v.barinov@samsung.com>
Fri, 7 Oct 2016 11:50:57 +0000 (14:50 +0300)
committerSlava Barinov <v.barinov@samsung.com>
Fri, 7 Oct 2016 11:51:01 +0000 (14:51 +0300)
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
strcache.c

index ff6a2d1fd4be414509ebad399d2390b089db41fc..2fdee69bf70f6175abf37ab9257e656f250b6c19 100644 (file)
@@ -72,6 +72,7 @@ new_cache ()
   return new;
 }
 
+__attribute__((no_sanitize_undefined))
 static const char *
 add_string (const char *str, unsigned int len)
 {