diff options
author | Hannes Magnusson <bjori@php.net> | 2007-07-23 01:21:04 +0000 |
---|---|---|
committer | Hannes Magnusson <bjori@php.net> | 2007-07-23 01:21:04 +0000 |
commit | 8bff918046620db283a74a8b64775e1c8045ef78 (patch) | |
tree | edf280b789f56912c6f2b87abd36f16e3211b709 | |
parent | 993f77ef9de282f24d8cd1106f455d28ef7de389 (diff) | |
download | php-git-8bff918046620db283a74a8b64775e1c8045ef78.tar.gz |
MFB: Avoid endless loop
-rw-r--r-- | ext/reflection/php_reflection.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index 0cd558ecdf..6e4812de34 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -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; } |