summaryrefslogtreecommitdiff
path: root/ext/com_dotnet/com_com.c
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 /ext/com_dotnet/com_com.c
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 'ext/com_dotnet/com_com.c')
-rw-r--r--ext/com_dotnet/com_com.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/com_dotnet/com_com.c b/ext/com_dotnet/com_com.c
index 60bccd96bb..cf6cf8d283 100644
--- a/ext/com_dotnet/com_com.c
+++ b/ext/com_dotnet/com_com.c
@@ -469,7 +469,7 @@ int php_com_do_invoke_byref(php_com_dotnet_object *obj, char *name, int namelen,
HRESULT hr;
VARIANT *vargs = NULL, *byref_vals = NULL;
int i, byref_count = 0, j;
- zend_internal_function *f = (zend_internal_function*)EG(function_state_ptr)->function;
+ zend_internal_function *f = (zend_internal_function*)EG(current_execute_data)->function_state.function;
/* assumption: that the active function (f) is the function we generated for the engine */
if (!f || f->arg_info == NULL) {