mirror of https://github.com/OISF/suricata
Hash table: check hash array size when inserting element
If the hash function returns an index greater than the array size of the hash table, the index is not checked. Even if this is the responsibility of the caller, add a safety check to avoid errors.pull/3104/head
parent
3bf098e52f
commit
bf166420fa
Loading…
Reference in New Issue