From 9e10db0b9a59a834892a4860bfe5602a26de3d4d Mon Sep 17 00:00:00 2001 From: "Paul J. Reder" Date: Sat, 18 Aug 2001 17:36:26 +0000 Subject: [PATCH] Fix a minor issue with Jeff Trawick's mod_include patch. Without this patch, the code will just allocate more bytes in get_combined_directive than are needed. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90329 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES | 4 ++++ modules/filters/mod_include.c | 1 + 2 files changed, 5 insertions(+) diff --git a/CHANGES b/CHANGES index a26c0e9ef0..fb4694b7cd 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,9 @@ Changes with Apache 2.0.25-dev + *) Fix a minor issue with Jeff Trawick's mod_include + patch. Without this patch, the code will just allocate + more bytes in get_combined_directive than are needed. + *) Added the LDAP authentication module mod_auth_ldap. [Dave Carrigan , Graham Leggett] diff --git a/modules/filters/mod_include.c b/modules/filters/mod_include.c index 78ff6a38b3..0dad620536 100644 --- a/modules/filters/mod_include.c +++ b/modules/filters/mod_include.c @@ -275,6 +275,7 @@ static apr_bucket *find_end_sequence(apr_bucket *dptr, include_ctx_t *ctx, apr_b if (ctx->state == PARSE_DIRECTIVE) { /* gonna start over parsing the directive next time through */ ctx->directive_length = 0; + ctx->tag_length = 0; } return dptr; } -- 2.40.0