summaryrefslogtreecommitdiff
path: root/tests/50-sim-hash_collision.c
Commit message (Collapse)AuthorAgeFilesLines
* tests: Add 50-sim-hash_collision testTom Hromatka2019-04-161-0/+98
libseccomp utilizes a hash table to manage BPF blocks. It currently employs MurmurHash3 where the key is the hashed values of the BPF instruction blocks, the accumulator start, and the accumulator end. This test was added because of a mishandled hash collision reported by Tor in GitHub issue #148. * https://github.com/seccomp/libseccomp/issues/148 Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com> Signed-off-by: Paul Moore <paul@paul-moore.com>