summaryrefslogtreecommitdiff
path: root/git-merge-resolve.sh
diff options
context:
space:
mode:
authorEric Sunshine <sunshine@sunshineco.com>2013-07-31 08:15:36 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-08-05 18:54:31 (GMT)
commit580b4f3acf076f5f3346206d3c54912ffc663d86 (patch)
tree207ca4b3b12d638f0b023c844c9917fb3be8ae88 /git-merge-resolve.sh
parentf350cf9ea5058ca0ad9e02033616d574c59ee064 (diff)
downloadgit-580b4f3acf076f5f3346206d3c54912ffc663d86.zip
git-580b4f3acf076f5f3346206d3c54912ffc663d86.tar.gz
git-580b4f3acf076f5f3346206d3c54912ffc663d86.tar.bz2
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 'git-merge-resolve.sh')
0 files changed, 0 insertions, 0 deletions