summaryrefslogtreecommitdiff
path: root/t/t7101-reset.sh
diff options
context:
space:
mode:
authorLibravatar Andre Noll <maan@systemlinux.org>2006-06-21 04:46:05 +0200
committerLibravatar Junio C Hamano <junkio@cox.net>2006-06-21 03:56:00 -0700
commit86f660b1f1dc207897281a77f969a56b2e551374 (patch)
treef56cf9718b70af684c6f6b5a389c8a18eed75448 /t/t7101-reset.sh
parentFix possible out-of-bounds array access (diff)
downloadtgif-86f660b1f1dc207897281a77f969a56b2e551374.tar.xz
object-refs: avoid division by zero
Currently, we don't check refs_hash_size size and happily call lookup_object_refs() even if refs_hash_size is zero which leads to a division by zero in hash_obj(). Signed-off-by: Andre Noll <maan@systemlinux.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't/t7101-reset.sh')
0 files changed, 0 insertions, 0 deletions