summaryrefslogtreecommitdiff
path: root/Zend/zend_vm_execute.skl
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2007-11-20 09:51:12 +0000
committerDmitry Stogov <dmitry@php.net>2007-11-20 09:51:12 +0000
commitc3ab6bd09164bd17f9dab09da47a045247210e34 (patch)
treeecd302f2b2e96d4286f6304ef56a9d3c68bc7749 /Zend/zend_vm_execute.skl
parent9f230a0d794e13fce699df9fd1187b55ff83bc35 (diff)
downloadphp-git-c3ab6bd09164bd17f9dab09da47a045247210e34.tar.gz
Fixed bug #43136 (possible crash on script execution timeout. The EG(function_state_ptr) is completely removed, EG(current_execute_data)->function_state must be used instead)
Diffstat (limited to 'Zend/zend_vm_execute.skl')
-rw-r--r--Zend/zend_vm_execute.skl3
1 files changed, 1 insertions, 2 deletions
diff --git a/Zend/zend_vm_execute.skl b/Zend/zend_vm_execute.skl
index 5fe8d9e6c8..1f6116b08a 100644
--- a/Zend/zend_vm_execute.skl
+++ b/Zend/zend_vm_execute.skl
@@ -46,7 +46,6 @@ ZEND_API void {%EXECUTOR_NAME%}(zend_op_array *op_array TSRMLS_DC)
EG(opline_ptr) = &EX(opline);
EX(function_state).function = (zend_function *) op_array;
- EG(function_state_ptr) = &EX(function_state);
while (1) {
{%ZEND_VM_CONTINUE_LABEL%}
@@ -57,7 +56,7 @@ ZEND_API void {%EXECUTOR_NAME%}(zend_op_array *op_array TSRMLS_DC)
#endif
{%ZEND_VM_DISPATCH%} {
- {%INTERNAL_EXECUTOR%}
+ {%INTERNAL_EXECUTOR%}
}
}