diff options
author | Eric Sunshine <sunshine@sunshineco.com> | 2013-07-31 04:15:36 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-08-05 11:54:31 -0700 |
commit | 580b4f3acf076f5f3346206d3c54912ffc663d86 (patch) | |
tree | 207ca4b3b12d638f0b023c844c9917fb3be8ae88 /t/t0008-ignores.sh | |
parent | t8001/t8002: blame: decompose overly-large test (diff) | |
download | tgif-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/t0008-ignores.sh')
0 files changed, 0 insertions, 0 deletions