Zend: Use ZEND_FCI_INITIALIZED() macro to check if an FCI is initialized (#17291)

This commit is contained in:
Gina Peter Banyard 2025-01-31 12:10:44 +00:00 committed by GitHub
parent 47b7779329
commit b4f275f9f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -824,7 +824,7 @@ zend_result zend_call_function(zend_fcall_info *fci, zend_fcall_info_cache *fci_
return SUCCESS; /* we would result in an unstable executor otherwise */
}
ZEND_ASSERT(fci->size == sizeof(zend_fcall_info));
ZEND_ASSERT(ZEND_FCI_INITIALIZED(*fci));
if (!fci_cache || !fci_cache->function_handler) {
char *error = NULL;