Commit c8914a0b authored by Doug MacEachern's avatar Doug MacEachern
Browse files

apr_pstrcat args were not NULL terminated


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90698 13f79535-47bb-0310-9956-ffa450edef68
parent f7c853a5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1527,7 +1527,7 @@ static const char *dirsection(cmd_parms *cmd, void *mconfig, const char *arg)
	r = ap_pregcomp(cmd->pool, cmd->path, REG_EXTENDED|USE_ICASE);
    }
    else if (cmd->path[strlen(cmd->path) - 1] != '/') {
        cmd->path = apr_pstrcat(cmd->pool, cmd->path, "/");
        cmd->path = apr_pstrcat(cmd->pool, cmd->path, "/", NULL);

        if (!strcmp(cmd->path, "/") == 0) 
        {