https://issues.apache.org/bugzilla/show_bug.cgi?id=55696
--- Comment #9 from Christopher Schultz <ch...@christopherschultz.net> --- (In reply to Susan Burgee from comment #8) > (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. Exactly which fix? Just adding a separate "buf2[]"? My fix is likely to remove the use of sprintf and avoid the problem entirely. -- 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