strlcpy breaks WCCP Security ---------------------------- Key: TS-1010 URL: https://issues.apache.org/jira/browse/TS-1010 Project: Traffic Server Issue Type: Bug Components: Network Affects Versions: 3.1.0 Reporter: Alan M. Carroll Assignee: Alan M. Carroll
The requirements for WCCP security key handling are precisely those of strncpy - * The buffer must be zero padded. * The terminating nul must *not* be copied if the key fills the buffer. Rather than doing something complex with strlcpy to satisfy these requirements it is much easier to simply use strncpy. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira