Fix crash when \X is used without UTF in JIT.

This commit is contained in:
Philip.Hazel 2019-05-13 16:26:17 +00:00
parent a31c548210
commit e118e60a68
3 changed files with 9 additions and 0 deletions

View File

@ -12,6 +12,8 @@ ClusterFuzz 14376.
2. Improved the invalid utf32 support of the JIT compiler. Now it correctly 2. Improved the invalid utf32 support of the JIT compiler. Now it correctly
detects invalid characters in the 0xd800-0xdfff range. detects invalid characters in the 0xd800-0xdfff range.
3. Fix minor typo bug in JIT compile when \X is used in a non-UTF string.
Version 10.33 16-April-2019 Version 10.33 16-April-2019
--------------------------- ---------------------------

3
testdata/testinput4 vendored
View File

@ -2480,4 +2480,7 @@
/^(?'אABC'...)(?&אABC)/utf /^(?'אABC'...)(?&אABC)/utf
123123123456 123123123456
/\X*/
\xF3aaa\xE4\xEA\xEB\xFEa
# End of testinput4 # End of testinput4

View File

@ -4012,4 +4012,8 @@ No match
0: 123123 0: 123123
1: 123 1: 123
/\X*/
\xF3aaa\xE4\xEA\xEB\xFEa
0: \xf3aaa\xe4\xea\xeb\xfea
# End of testinput4 # End of testinput4