From: Flole998 Date: Thu, 22 Oct 2020 21:18:52 +0000 (+0200) Subject: Change no_sanitize("thread") attributes X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c66e3bc7db52c1e1bcae9de86d8c6fe8ccb46aa4;p=thirdparty%2Ftvheadend.git Change no_sanitize("thread") attributes --- diff --git a/src/wrappers.c b/src/wrappers.c index 635758fba..09ba146a8 100644 --- a/src/wrappers.c +++ b/src/wrappers.c @@ -452,7 +452,7 @@ int regex_match_substring_length(tvh_regex_t *regex, unsigned number) * Sanitizer helpers to avoid false positives */ #if ENABLE_CCLANG_THREADSAN -void __attribute__((no_sanitize("thread"))) *blacklisted_memcpy(void *dest, const void *src, size_t n) +void __attribute__((no_sanitize_thread)) *blacklisted_memcpy(void *dest, const void *src, size_t n) { uint8_t *d = dest; const uint8_t *s = src; @@ -462,7 +462,7 @@ void __attribute__((no_sanitize("thread"))) *blacklisted_memcpy(void *dest, cons void *dlsym(void *handle, const char *symbol); -int __attribute__((no_sanitize("thread"))) blacklisted_close(int fd) +int __attribute__((no_sanitize_thread)) blacklisted_close(int fd) { // close(fd); // sanitizer reports errors in close() return 0;