diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-02-20 16:28:42 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-02-20 16:34:59 -0500 |
commit | 56e3d0cf5d44054e79b815068d3fa09f51dc8ba2 (patch) | |
tree | 54bdb8966de3e411e32b238233245fdd6dc89e43 /src/quotacheck/quotacheck.c | |
parent | 714c62b46379abb7558c544665522aca91691e10 (diff) |
test-siphash24: add a test for concatenating very short buffers
coverity seems to think that our siphash code can read past the
end of a short buffer. Add a test which adds very short buffers
with different combinations of length to the hash. Hashing is done
twice, once with zeros following "data", and once with some other
bytes following "data". The two results are then compared to
verify that the result does not depend on bytes past the specified
data length.
(This test passes.)
Diffstat (limited to 'src/quotacheck/quotacheck.c')
0 files changed, 0 insertions, 0 deletions