Skip to content

Commit 5b20bac

Browse files
committed
copy: ZEND_JMP_FRAMELESS also needs jump addresses updating on copy
1 parent 3d9d714 commit 5b20bac

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: src/copy.c

+3
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,9 @@ static zend_op* pmmpthread_copy_opcodes(zend_op_array *op_array, zval *literals,
443443
case ZEND_JMP_NULL:
444444
#if PHP_VERSION_ID >= 80300
445445
case ZEND_BIND_INIT_STATIC_OR_JMP:
446+
#endif
447+
#if PHP_VERSION_ID >= 80400
448+
case ZEND_JMP_FRAMELESS:
446449
#endif
447450
opline->op2.jmp_addr = &copy[opline->op2.jmp_addr - op_array->opcodes];
448451
break;

0 commit comments

Comments
 (0)