From 041e7470b131aa342e92d952dd1dafef0a0f26d6 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Thu, 23 Mar 2006 13:14:55 +0000 Subject: [PATCH] - Initialized callable_name if present --- Zend/zend_API.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Zend/zend_API.c b/Zend/zend_API.c index 106f4934406..71f3a504ffd 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -2118,6 +2118,9 @@ ZEND_API zend_bool zend_is_callable_ex(zval *callable, uint check_flags, char ** zend_function *fptr_local; zval **zobj_ptr_local; + if (callable_name) { + *callable_name = NULL; + } if (callable_name_len == NULL) { callable_name_len = &callable_name_len_local; }