From: Brian Pane Date: Sun, 12 May 2002 16:55:41 +0000 (+0000) Subject: Fixed missing null-termination of ap_make_content_type() patterns list X-Git-Tag: 2.0.37~427 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7dd968bb3ef65e4ce1d8cff8503c5f8e6c85d6ba;p=apache 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 --- diff --git a/server/protocol.c b/server/protocol.c index ae8f0c3b06..499224508f 100644 --- a/server/protocol.c +++ b/server/protocol.c @@ -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); }