Skip to content

Commit

Permalink
- Initialized callable_name if present
Browse files Browse the repository at this point in the history
  • Loading branch information
helly25 committed Mar 23, 2006
1 parent 1440bb5 commit 041e747
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Zend/zend_API.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 041e747

Please sign in to comment.