freak82 opened a new pull request, #11355:
URL: https://github.com/apache/trafficserver/pull/11355

   The  `-Wstringop-overflow` warning was caused by single usage of `strncat` 
function.
   The problem was that GCC complained for possibly incorrect usage of 
`strncat` due to the last argument being equal to the source string length. The 
last argument of strncat is supposed to be the remaining free space in the 
destination buffer.
   Replaced the usage of `strncat` with the ATS function `ink_strlcat`.
   More info about this can be found in [this ATS 
issue](https://github.com/apache/trafficserver/issues/11343)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to