]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Follow up to r1919015: fix compilation.
authorYann Ylavic <ylavic@apache.org>
Mon, 8 Jul 2024 13:07:23 +0000 (13:07 +0000)
committerYann Ylavic <ylavic@apache.org>
Mon, 8 Jul 2024 13:07:23 +0000 (13:07 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919019 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/proxy_util.c

index 365f501418a603e0882b1280570b5632ef85db56..4ba3bfe639e4cdd4a8b519f6b9f8b721fd2f4983 100644 (file)
@@ -2472,7 +2472,7 @@ PROXY_DECLARE(int) ap_proxy_fixup_uds_filename(request_rec *r)
         }
         else {
             /* Overwrite the UDS part of r->filename in place */
-            memmove(uds_url, origin_url, origin_len + 1);
+            memmove(uds_url, origin_url, strlen(origin_url) + 1);
         }
         return OK;
     }