[xdebug-dev] xdebug xdebug/xdebug.c - Fixed bug #57: Crash with overloading functions

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Sat, 10 Apr 2004 01:25:09 +0200

Date: Sat Apr 10 01:25:09 CEST 2004
User: Derick Rethans
Directory: xdebug

Log Message:
[0.25]
- Fixed bug #57: Crash with overloading functions

Modified files:
           xdebug/xdebug.c (version: 1.206)

[FILE: /xdebug/xdebug.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.205
retrieving revision 1.206
diff -u -r1.205 -r1.206
--- xdebug/xdebug.c:1.205 Fri Apr 09 18:02:48 2004 GMT
+++ xdebug/xdebug.c Fri Apr 09 21:25:09 2004 GMT
@@ -639,7 +639,7 @@
         ) {
                 /* Ugly hack for call_user_*() type function calls */
                 zend_function *tmpf = EG(current_execute_data)->prev_execute_data->function_state.function;
- if (tmpf && tmpf->common.function_name) {
+ if (tmpf && (tmpf->common.type != 3) && tmpf->common.function_name) {
                         if (
                                 (strcmp(tmpf->common.function_name, "call_user_func") == 0) ||
                                 (strcmp(tmpf->common.function_name, "call_user_func_array") == 0) ||
Received on Sat Apr 10 2004 - 01:25:10 BST

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:02 BST