Patch disable-ROPE_END-dce for Reproducible crash Bug #76446
Patch version 2018-06-12 22:27 UTC
Return to Bug #76446 |
Download this patch
Patch Revisions:
Developer: cmb@php.net
ext/opcache/Optimizer/dce.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ext/opcache/Optimizer/dce.c b/ext/opcache/Optimizer/dce.c
index 4a35c9e5d3..52e3f8dfa9 100644
--- a/ext/opcache/Optimizer/dce.c
+++ b/ext/opcache/Optimizer/dce.c
@@ -109,7 +109,6 @@ static inline zend_bool may_have_side_effects(
case ZEND_CAST:
case ZEND_ROPE_INIT:
case ZEND_ROPE_ADD:
- case ZEND_ROPE_END:
case ZEND_INIT_ARRAY:
case ZEND_ADD_ARRAY_ELEMENT:
case ZEND_SPACESHIP:
@@ -127,6 +126,7 @@ static inline zend_bool may_have_side_effects(
case ZEND_FUNC_GET_ARGS:
/* No side effects */
return 0;
+ case ZEND_ROPE_END: /*FIXME: <https://bugs.php.net/76446> */
case ZEND_JMP:
case ZEND_JMPZ:
case ZEND_JMPNZ:
|