diff options
author | Hugo van der Sanden <hv@crypt.org> | 2020-03-27 14:31:38 +0000 |
---|---|---|
committer | Hugo van der Sanden <hv@crypt.org> | 2020-03-27 14:51:35 +0000 |
commit | e0ab3efe60276d859717e50212fa157323e89a54 (patch) | |
tree | 7598927d7dcb8e75ecb252190f4461d552ada2b7 /t | |
parent | 8442d3dce303cdbedffe7f44cc0917459e8dd187 (diff) | |
download | perl-e0ab3efe60276d859717e50212fa157323e89a54.tar.gz |
gh-17645 test for out of bounds read
TODO test fails with sanitize=address.
Diffstat (limited to 't')
-rw-r--r-- | t/lib/croak/toke | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/t/lib/croak/toke b/t/lib/croak/toke index b97748b73a..2352aa4096 100644 --- a/t/lib/croak/toke +++ b/t/lib/croak/toke @@ -564,3 +564,12 @@ else { EXPECT OPTIONS regex Use of code point 0x80000000(00000000)? is not allowed; the permissible max is 0x7FFFFFFF(FFFFFFFF)? at - line \d+. +######## +# TODO gh-17645: conflict marker detection should not read out of bounds +m/$0[ +==0/ +EXPECT +syntax error at - line 2, near "[ +==" + (Might be a runaway multi-line // string starting on line 1) +Execution of - aborted due to compilation errors. |