mirror of
https://github.com/php/php-src.git
synced 2024-09-23 10:57:26 +00:00
MFB: Avoid endless loop
This commit is contained in:
parent
993f77ef9d
commit
8bff918046
@ -996,6 +996,7 @@ static void _extension_string(string *str, zend_module_entry *module, char *inde
|
||||
while (func->fname) {
|
||||
if (zend_ascii_hash_find(EG(function_table), func->fname, strlen(func->fname) + 1, (void**) &fptr) == FAILURE) {
|
||||
zend_error(E_WARNING, "Internal error: Cannot find extension function %s in global function table", func->fname);
|
||||
func++;
|
||||
continue;
|
||||
}
|
||||
|
||||
@ -4327,6 +4328,7 @@ ZEND_METHOD(reflection_extension, getFunctions)
|
||||
while (func->fname) {
|
||||
if (zend_ascii_hash_find(EG(function_table), func->fname, strlen(func->fname) + 1, (void**) &fptr) == FAILURE) {
|
||||
zend_error(E_WARNING, "Internal error: Cannot find extension function %s in global function table", func->fname);
|
||||
func++;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user