summaryrefslogtreecommitdiff
path: root/t/t4252/file-2-0
diff options
context:
space:
mode:
authorLibravatar Eric Sunshine <sunshine@sunshineco.com>2013-07-31 04:15:36 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-08-05 11:54:31 -0700
commit580b4f3acf076f5f3346206d3c54912ffc663d86 (patch)
tree207ca4b3b12d638f0b023c844c9917fb3be8ae88 /t/t4252/file-2-0
parentt8001/t8002: blame: decompose overly-large test (diff)
downloadtgif-580b4f3acf076f5f3346206d3c54912ffc663d86.tar.xz
t8001/t8002: blame: demonstrate -L bounds checking bug
A bounds checking bug allows the X in -LX to extend one line past the end of file. For example, given a file with 5 lines, -L6 is accepted as valid. Demonstrate this problem. While here, also add tests to check that the remaining cases of X and Y in -LX,Y are handled correctly at and in the vicinity of end-of-file. Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4252/file-2-0')
0 files changed, 0 insertions, 0 deletions