- Initialized callable_name if present

This commit is contained in:
Marcus Boerger 2006-03-23 13:14:55 +00:00
parent 1440bb5c7b
commit 041e7470b1

View File

@ -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;
}