Commit f9ec6af5 authored by Jeff Trawick's avatar Jeff Trawick
Browse files

Fix a segfault in mod_info. mod_info_module_cmds() had a misstep when

reaching the end of the configuration.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87128 13f79535-47bb-0310-9956-ffa450edef68
parent 42e9ec0e
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -232,7 +232,12 @@ static void mod_info_module_cmds(request_rec * r, const command_rec * cmds,
						    sizeof(buf), 1));
		block_start--;
	    }
            if (tmptree->parent) {
                tmptree = tmptree->parent->next;
            }
            else {
                tmptree = NULL;
            }
	    nest--;
	}