From 03ffd123d105c06c63a5c833167693572c91a631 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Mon, 9 Oct 2023 22:06:54 +0300 Subject: [PATCH] Fix GH-12364: JIT leak in Symfony TranslationDebugCommandTest --- ext/opcache/jit/zend_jit_arm64.dasc | 2 -- ext/opcache/jit/zend_jit_x86.dasc | 2 -- 2 files changed, 4 deletions(-) diff --git a/ext/opcache/jit/zend_jit_arm64.dasc b/ext/opcache/jit/zend_jit_arm64.dasc index 06969de67c65..0a0bd23c3160 100644 --- a/ext/opcache/jit/zend_jit_arm64.dasc +++ b/ext/opcache/jit/zend_jit_arm64.dasc @@ -14557,8 +14557,6 @@ static int zend_jit_fe_fetch(dasm_State **Dst, const zend_op *opline, uint32_t o if (exit_addr) { if (exit_opcode == ZEND_JMP) { | b &exit_addr - } else { - | b >3 } } else { | b =>target_label diff --git a/ext/opcache/jit/zend_jit_x86.dasc b/ext/opcache/jit/zend_jit_x86.dasc index bee53423d8ff..dcb32d92b5e8 100644 --- a/ext/opcache/jit/zend_jit_x86.dasc +++ b/ext/opcache/jit/zend_jit_x86.dasc @@ -15506,8 +15506,6 @@ static int zend_jit_fe_fetch(dasm_State **Dst, const zend_op *opline, uint32_t o if (exit_addr) { if (exit_opcode == ZEND_JMP) { | jmp &exit_addr - } else { - | jmp >3 } } else { | jmp =>target_label