summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2024-07-08 15:07:23 +0200
committerYann Ylavic <ylavic@apache.org>2024-07-08 15:07:23 +0200
commit22b6311e1eb4177fbb1a18e0bdc6d4337b462ea2 (patch)
tree41a87c07ef6f7669fc02ab8bd208e6bc42532072
parentmod_proxy: Avoid AH01059 parsing error for SetHandler "unix:" URLs. PR 69160 (diff)
downloadapache2-22b6311e1eb4177fbb1a18e0bdc6d4337b462ea2.tar.xz
apache2-22b6311e1eb4177fbb1a18e0bdc6d4337b462ea2.zip
Follow up to r1919015: fix compilation.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919019 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--modules/proxy/proxy_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/proxy/proxy_util.c b/modules/proxy/proxy_util.c
index 365f501418..4ba3bfe639 100644
--- a/modules/proxy/proxy_util.c
+++ b/modules/proxy/proxy_util.c
@@ -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;
}