This is an automated email from the ASF dual-hosted git repository. markt-asf pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat-connectors.git
commit 8a0990d58eb47cdf1db7dc67978b969d6ad89e21 Author: Mark Thomas <[email protected]> AuthorDate: Tue Jun 9 17:53:11 2026 +0100 Prevent crash in unlikely case of long destination URI after rewrite --- native/iis/jk_isapi_plugin.c | 2 +- xdocs/miscellaneous/changelog.xml | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/native/iis/jk_isapi_plugin.c b/native/iis/jk_isapi_plugin.c index 106e1c93d..c57f31bdb 100644 --- a/native/iis/jk_isapi_plugin.c +++ b/native/iis/jk_isapi_plugin.c @@ -1566,7 +1566,7 @@ static char *ap_pregsub(const char *input, char *dest, *dst; char c; int no; - int len; + size_t len; if (!source) return NULL; diff --git a/xdocs/miscellaneous/changelog.xml b/xdocs/miscellaneous/changelog.xml index d70ced6d6..cbd0c482a 100644 --- a/xdocs/miscellaneous/changelog.xml +++ b/xdocs/miscellaneous/changelog.xml @@ -51,6 +51,14 @@ </p> </section> <section name="Changes between 1.2.50 and 1.2.51"> + <subsection name="IIS"> + <changelog> + <fix> + Prevent a crash in the unliklely case of a very long destination URI + after a rewrite. (markt) + </fix> + </changelog> + </subsection> </section> <section name="Changes between 1.2.49 and 1.2.50"> <subsection name="Apache"> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
