File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -565,7 +565,7 @@ EXPECT
565
565
OPTIONS regex
566
566
Use of code point 0x80000000(00000000)? is not allowed; the permissible max is 0x7FFFFFFF(FFFFFFFF)? at - line \d+.
567
567
########
568
- # TODO gh-17645: conflict marker detection should not read out of bounds
568
+ # NAME gh-17645: conflict marker detection should not read out of bounds
569
569
m/$0[
570
570
==0/
571
571
EXPECT
Original file line number Diff line number Diff line change @@ -8835,7 +8835,7 @@ yyl_try(pTHX_ char *s, STRLEN len)
8835
8835
8836
8836
case '=' :
8837
8837
if (s [1 ] == '=' && (s == PL_linestart || s [-1 ] == '\n' )
8838
- && memBEGINs (s + 2 , (STRLEN ) (PL_bufend - s + 2 ), "=====" ))
8838
+ && memBEGINs (s + 2 , (STRLEN ) (PL_bufend - ( s + 2 ) ), "=====" ))
8839
8839
{
8840
8840
s = vcs_conflict_marker (s + 7 );
8841
8841
goto retry ;
@@ -8929,7 +8929,7 @@ yyl_try(pTHX_ char *s, STRLEN len)
8929
8929
8930
8930
case '<' :
8931
8931
if (s [1 ] == '<' && (s == PL_linestart || s [-1 ] == '\n' )
8932
- && memBEGINs (s + 2 , (STRLEN ) (PL_bufend - (s + 2 )), "<<<<<" ))
8932
+ && memBEGINs (s + 2 , (STRLEN ) (PL_bufend - (s + 2 )), "<<<<<" ))
8933
8933
{
8934
8934
s = vcs_conflict_marker (s + 7 );
8935
8935
goto retry ;
@@ -8938,7 +8938,7 @@ yyl_try(pTHX_ char *s, STRLEN len)
8938
8938
8939
8939
case '>' :
8940
8940
if (s [1 ] == '>' && (s == PL_linestart || s [-1 ] == '\n' )
8941
- && memBEGINs (s + 2 , (STRLEN ) (PL_bufend - s + 2 ), ">>>>>" ))
8941
+ && memBEGINs (s + 2 , (STRLEN ) (PL_bufend - ( s + 2 ) ), ">>>>>" ))
8942
8942
{
8943
8943
s = vcs_conflict_marker (s + 7 );
8944
8944
goto retry ;
You can’t perform that action at this time.
0 commit comments