diff options
author | Hannes Magnusson <bjori@php.net> | 2007-07-23 01:13:43 +0000 |
---|---|---|
committer | Hannes Magnusson <bjori@php.net> | 2007-07-23 01:13:43 +0000 |
commit | e6e823c8449403d37a82beec729d9aa888096c15 (patch) | |
tree | 7d4b3c3937058667d3c357ef5b433de5557aeed4 /ext | |
parent | 0b40ec1f1949731f46680bbb5ed595f03aaaca0d (diff) | |
download | php-git-e6e823c8449403d37a82beec729d9aa888096c15.tar.gz |
Avoid endless loop
Diffstat (limited to 'ext')
-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 499a43d52d..e4f7407b1d 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -978,6 +978,7 @@ static void _extension_string(string *str, zend_module_entry *module, char *inde while (func->fname) { if (zend_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; } @@ -4214,6 +4215,7 @@ ZEND_METHOD(reflection_extension, getFunctions) while (func->fname) { if (zend_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; } |