diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2009-06-02 11:05:10 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2009-06-02 11:05:10 +0000 |
commit | 0797724f57c4b2cd3d9eca10af6ab148e857932a (patch) | |
tree | 28833ab64867f074d6a4617e81d7a3087f0802d7 /sys/compat | |
parent | f01492784049d31b694caa93d8f283626ab12430 (diff) |
Fix an off-by-one in the ddb-only debugging function tdb_hashstats.
when we check if a hash chain is over 15 long, we would access one past
the end of the array. change the static array size to a define because
it makes this checking easier to verify.
Found by Parfait.
ok deraadt@.
Diffstat (limited to 'sys/compat')
0 files changed, 0 insertions, 0 deletions