JosiahWI commented on PR #11357:
URL: https://github.com/apache/trafficserver/pull/11357#issuecomment-2112788630

   ```
   In function 'size_t str_concat(char*, size_t, const char*, size_t)',
       inlined from 'TSHttpStatus S3Request::authorizeV2(S3Config*)' at 
../../../plugins/s3_auth/s3_auth.cc:920:25:
   ../../../plugins/s3_auth/s3_auth.cc:761:12: error: 'char* strncat(char*, 
const char*, size_t)' specified bound 1 equals source length 
[-Werror=stringop-overflow=]
     761 |     strncat(dst, src, to_copy);
         |     ~~~~~~~^~~~~~~~~~~~~~~~~~~
   In function 'size_t str_concat(char*, size_t, const char*, size_t)',
       inlined from 'TSHttpStatus S3Request::authorizeV2(S3Config*)' at 
../../../plugins/s3_auth/s3_auth.cc:926:25:
   ../../../plugins/s3_auth/s3_auth.cc:761:12: error: 'char* strncat(char*, 
const char*, size_t)' specified bound 1 equals source length 
[-Werror=stringop-overflow=]
     761 |     strncat(dst, src, to_copy);
         |     ~~~~~~~^~~~~~~~~~~~~~~~~~~
         ```
         
         It looks like there is a possible similar incorrect usage of `strncat` 
in the s3_auth plugin that the CentOS build is now complaining about.


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