DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=29216>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=29216 Infinite loop while viewing cache stats page Summary: Infinite loop while viewing cache stats page Product: Apache httpd-2.0 Version: 2.0-HEAD Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: mod_ldap AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] The following code in util_ldap_cache_mgr.c gets stuck in an infinite loop: for (i=0; i < cache->size; ++i) { if (cache->nodes[i] != NULL) { nchains++; >> for (n = cache->nodes[i]; n != NULL; n = n->next) totchainlen++; } } In the above case, the variables n, cache->nodes[i] and n->next all point to the same object, so "n = n->next" causes an infinite loop. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
