From: Giovanni Bechis Date: Fri, 20 Feb 2026 14:26:51 +0000 (+0000) Subject: copy all the chars in ETag, included the last '"' X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7808644f0a321ed0d59927a09a000b74fbae8f78;p=thirdparty%2Fapache%2Fhttpd.git copy all the chars in ETag, included the last '"' bz #69957 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1931953 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/util_etag.c b/server/util_etag.c index af74549d33..5c1e1a6de9 100644 --- a/server/util_etag.c +++ b/server/util_etag.c @@ -80,7 +80,7 @@ static void etag_end(char *next, const char *vlv, apr_size_t vlv_len) { if (vlv) { *next++ = ';'; - apr_cpystrn(next, vlv, vlv_len); + apr_cpystrn(next, vlv, vlv_len + 1); } else { *next++ = '"';