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

   Fixes Fedora 42 gcc release build failure.
   
   Replace `strncat` with `memcpy` to satisfy GCC's 
`-Werror=stringop-truncation` warning. The original code was safe due to the 
bounds check, but GCC couldn't determine this. Using `memcpy` makes the intent 
clearer and eliminates the warning.
   
   **Affected Builds:**
   - Fedora 41/42 gcc release
   
   **Testing:**
   - [x] Code formatted with clang-format
   - [x] Local build successful


-- 
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