hashmap.c
hashmap.c copied to clipboard
fix potential buffer read overflow for buffer with len < 8 Bytes
in function uint64_t hashmap_sip(const void *data, size_t len, uint64_t seed0,uint64_t seed1) wher the input buffer is smaller than 8 bytes, copy it into a zero-padded local buffer to avoid out-of-bounds reads