mirror of
https://github.com/mirror/wget.git
synced 2025-03-27 04:20:31 +08:00
* src/hsts.c (hsts_hash_func): Allow integer overflow
This commit is contained in:
parent
bec9816f40
commit
55da9f71f0
@ -83,6 +83,9 @@ enum hsts_kh_match {
|
|||||||
|
|
||||||
/* Hashing and comparison functions for the hash table */
|
/* Hashing and comparison functions for the hash table */
|
||||||
|
|
||||||
|
#ifdef __clang__
|
||||||
|
__attribute__((no_sanitize("integer")))
|
||||||
|
#endif
|
||||||
static unsigned long
|
static unsigned long
|
||||||
hsts_hash_func (const void *key)
|
hsts_hash_func (const void *key)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user