Commit f55b544f authored by Brian Pane's avatar Brian Pane
Browse files

Fixed missing null-termination of ap_make_content_type() patterns list


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95047 13f79535-47bb-0310-9956-ffa450edef68
parent 1a5f26a4
Loading
Loading
Loading
Loading
+1 −0
Changes for server/protocol.c: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -129,6 +129,7 @@ AP_DECLARE(void) ap_setup_make_content_type(apr_pool_t *pool)
    for (i = 0; needcset[i]; i++) {
        needcset_patterns[i] = apr_strmatch_precompile(pool, needcset[i], 0);
    }
    needcset_patterns[i] = NULL;
    charset_pattern = apr_strmatch_precompile(pool, "charset=", 0);
}