Skip to content
Permalink
Browse files Browse the repository at this point in the history
Fix incorrect value reading in JIT.
  • Loading branch information
Zoltan Herczeg committed Mar 24, 2022
1 parent 50a51cb commit d4fa336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pcre2_jit_compile.c
Expand Up @@ -7489,7 +7489,7 @@ while (*cc != XCL_END)
{
SLJIT_ASSERT(*cc == XCL_PROP || *cc == XCL_NOTPROP);
cc++;
if (*cc == PT_CLIST && *cc == XCL_PROP)
if (*cc == PT_CLIST && cc[-1] == XCL_PROP)
{
other_cases = PRIV(ucd_caseless_sets) + cc[1];
while (*other_cases != NOTACHAR)
Expand Down

0 comments on commit d4fa336

Please sign in to comment.