Skip to content

Commit e0ab3ef

Browse files
committed
gh-17645 test for out of bounds read
TODO test fails with sanitize=address.
1 parent 8442d3d commit e0ab3ef

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

t/lib/croak/toke

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -564,3 +564,12 @@ else {
564564
EXPECT
565565
OPTIONS regex
566566
Use of code point 0x80000000(00000000)? is not allowed; the permissible max is 0x7FFFFFFF(FFFFFFFF)? at - line \d+.
567+
########
568+
# TODO gh-17645: conflict marker detection should not read out of bounds
569+
m/$0[
570+
==0/
571+
EXPECT
572+
syntax error at - line 2, near "[
573+
=="
574+
(Might be a runaway multi-line // string starting on line 1)
575+
Execution of - aborted due to compilation errors.

0 commit comments

Comments
 (0)