Additional overflow test.
This commit is contained in:
parent
2e06fdcdc1
commit
f985a68ea5
|
@ -5647,6 +5647,10 @@ a)"xI
|
||||||
|
|
||||||
/(?<=(?<=a)b)(?<!abcd)(?<=(?<=a)bcde)/I
|
/(?<=(?<=a)b)(?<!abcd)(?<=(?<=a)bcde)/I
|
||||||
|
|
||||||
|
# Addition overflow
|
||||||
/( {32742} {42})(?<!\1{65481})/
|
/( {32742} {42})(?<!\1{65481})/
|
||||||
|
|
||||||
|
# Multiplication overflow
|
||||||
|
/(X{65535})(?<=\1{32770})/
|
||||||
|
|
||||||
# End of testinput2
|
# End of testinput2
|
||||||
|
|
|
@ -17078,9 +17078,14 @@ Max lookbehind = 5
|
||||||
May match empty string
|
May match empty string
|
||||||
Subject length lower bound = 0
|
Subject length lower bound = 0
|
||||||
|
|
||||||
|
# Addition overflow
|
||||||
/( {32742} {42})(?<!\1{65481})/
|
/( {32742} {42})(?<!\1{65481})/
|
||||||
Failed: error 187 at offset 15: lookbehind assertion is too long
|
Failed: error 187 at offset 15: lookbehind assertion is too long
|
||||||
|
|
||||||
|
# Multiplication overflow
|
||||||
|
/(X{65535})(?<=\1{32770})/
|
||||||
|
Failed: error 187 at offset 10: lookbehind assertion is too long
|
||||||
|
|
||||||
# End of testinput2
|
# End of testinput2
|
||||||
Error -70: PCRE2_ERROR_BADDATA (unknown error number)
|
Error -70: PCRE2_ERROR_BADDATA (unknown error number)
|
||||||
Error -62: bad serialized data
|
Error -62: bad serialized data
|
||||||
|
|
Loading…
Reference in New Issue