From 6d182a84567d5261f626f515db830bfef90a0c8f Mon Sep 17 00:00:00 2001 From: George Schlossnagle Date: Fri, 18 Jun 2004 17:34:58 +0000 Subject: [PATCH] fix for 28213. class_name and call_type should be reinitialized on every loop iter. --- Zend/zend_builtin_functions.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.50.1