From: George Schlossnagle Date: Fri, 18 Jun 2004 17:34:58 +0000 (+0000) Subject: fix for 28213. X-Git-Tag: php-5.0.0~173 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6d182a84567d5261f626f515db830bfef90a0c8f;p=php fix for 28213. class_name and call_type should be reinitialized on every loop iter. --- diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c index 02f5d49e7a..eb67291453 100644 --- a/Zend/zend_builtin_functions.c +++ b/Zend/zend_builtin_functions.c @@ -1484,6 +1484,7 @@ ZEND_FUNCTION(debug_print_backtrace) array_init(return_value); while (ptr) { + class_name = call_type = NULL; if (ptr->op_array) { filename = ptr->op_array->filename; lineno = ptr->opline->lineno;