hashmap.c icon indicating copy to clipboard operation
hashmap.c copied to clipboard

fix potential buffer read overflow for buffer with len < 8 Bytes

Open paperino1983 opened this issue 5 months ago • 4 comments

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

paperino1983 avatar Sep 09 '25 09:09 paperino1983