summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/window-choose.c
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2009-06-02 11:05:10 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2009-06-02 11:05:10 +0000
commit0797724f57c4b2cd3d9eca10af6ab148e857932a (patch)
tree28833ab64867f074d6a4617e81d7a3087f0802d7 /usr.bin/tmux/window-choose.c
parentf01492784049d31b694caa93d8f283626ab12430 (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 'usr.bin/tmux/window-choose.c')
0 files changed, 0 insertions, 0 deletions