From: Antony Dovgal Date: Wed, 18 Jan 2006 21:06:47 +0000 (+0000) Subject: MFH: make sure ce_child is properly initialized X-Git-Tag: php-5.1.3RC1~233 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=01e8d313c8fa2e206243c3e04ad82a5d41563ec1;p=php MFH: make sure ce_child is properly initialized --- diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index 4d2ea633b6..33000ab9f6 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -713,7 +713,7 @@ int zend_call_function(zend_fcall_info *fci, zend_fcall_info_cache *fci_cache TS if (calling_scope && (colon = strstr(fname, "::")) != NULL) { int clen = colon - fname; int mlen = fname_len - clen - 2; - zend_class_entry **pce, *ce_child; + zend_class_entry **pce, *ce_child = NULL; if (zend_lookup_class(fname, clen, &pce TSRMLS_CC) == SUCCESS) { ce_child = *pce; } else {