Fix incorrect value reading in JIT.

This commit is contained in:
Zoltan Herczeg 2022-03-24 05:34:42 +00:00
parent 50a51cb7e6
commit d4fa336fbc
1 changed files with 1 additions and 1 deletions

View File

@ -7489,7 +7489,7 @@ while (*cc != XCL_END)
{ {
SLJIT_ASSERT(*cc == XCL_PROP || *cc == XCL_NOTPROP); SLJIT_ASSERT(*cc == XCL_PROP || *cc == XCL_NOTPROP);
cc++; cc++;
if (*cc == PT_CLIST && *cc == XCL_PROP) if (*cc == PT_CLIST && cc[-1] == XCL_PROP)
{ {
other_cases = PRIV(ucd_caseless_sets) + cc[1]; other_cases = PRIV(ucd_caseless_sets) + cc[1];
while (*other_cases != NOTACHAR) while (*other_cases != NOTACHAR)