summaryrefslogtreecommitdiff
path: root/t/t4211-line-log.sh
diff options
context:
space:
mode:
authorLibravatar Eric Sunshine <sunshine@sunshineco.com>2013-07-23 10:28:04 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-07-23 11:37:46 -0700
commitb6679e768f39f718b7f2983d1958f5fb1121f356 (patch)
treef45eaaac6f0ec81d7e45026510b4263c0cbf865e /t/t4211-line-log.sh
parentrange_set: fix coalescing bug when range is a subset of another (diff)
downloadtgif-b6679e768f39f718b7f2983d1958f5fb1121f356.tar.xz
range-set: fix sort_and_merge_range_set() corner case bug
When handed an empty range_set (range_set.nr == 0), sort_and_merge_range_set() incorrectly sets range_set.nr to 1 at exit. Subsequent range_set functions then access the bogus range at element zero and crash or throw an assertion failure. Fix this bug. Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Acked-by: Thomas Rast <trast@inf.ethz.ch> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4211-line-log.sh')
0 files changed, 0 insertions, 0 deletions