From 55da9f71f0a1a9cfa18857277b9a2a048df5e3fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20R=C3=BChsen?= Date: Sun, 15 Apr 2018 18:57:24 +0200 Subject: [PATCH] * src/hsts.c (hsts_hash_func): Allow integer overflow --- src/hsts.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/hsts.c b/src/hsts.c index ef028a06..4f707301 100644 --- a/src/hsts.c +++ b/src/hsts.c @@ -83,6 +83,9 @@ enum hsts_kh_match { /* Hashing and comparison functions for the hash table */ +#ifdef __clang__ +__attribute__((no_sanitize("integer"))) +#endif static unsigned long hsts_hash_func (const void *key) {