https://issues.apache.org/bugzilla/show_bug.cgi?id=55696

--- Comment #8 from Susan Burgee <susa...@yahoo.com> ---
(In reply to sandy from comment #0)
> 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);

I applied this fix after upgrading to Mavericks and it solved the problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to