This is also tracked in the ASF Bugzilla under
https://issues.apache.org/bugzilla/show_bug.cgi?id=50339
Could you try the following patch:
Index: common/jk_map.c
===================================================================
--- common/jk_map.c (revision 1032021)
+++ common/jk_map.c (working copy)
@@ -630,6 +630,7 @@
static size_t trim(char *s)
{
size_t i;
+ size_t off;
/* check for empty strings */
if (!(i = strlen(s)))
@@ -646,7 +647,10 @@
isspace((int)((unsigned char)s[i])); i++);
if (i > 0) {
- strcpy(s, &s[i]);
+ for (off = i; '\0' != s[i]; i++); {
+ s[i - off] = s[i];
+ }
+ s[i - off] = s[i];
}
Tanks.
Rainer
** Bug watch added: Apache Software Foundation Bugzilla #50339
http://issues.apache.org/bugzilla/show_bug.cgi?id=50339
--
Parse error for workers.properties
https://bugs.launchpad.net/bugs/592576
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs