https://issues.apache.org/bugzilla/show_bug.cgi?id=55696
Bug ID: 55696
Summary: mod_jk crash in jk_map_get_int()
Product: Tomcat Connectors
Version: 1.2.37
Hardware: Macintosh
Status: NEW
Severity: normal
Priority: P2
Component: mod_jk
Assignee: [email protected]
Reporter: [email protected]
Apple appears to have made strcpy() enforce that the src and dest buffers may
not overlap. As a result jk_map_get_int() may fail on the line strcpy(but, rc);
as rc may be set to but by jk_map_get_string().
As a work around, I have created a second buffer char buf2[100] and used that
for def:
sprintf(buf2, "%d", def);
rc = jk_map_get_string(m, name, buf2);
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]