maskit opened a new issue, #10350:
URL: https://github.com/apache/trafficserver/issues/10350

   healthchecks.cc
   ```
   136  while (conf) {
   137    conf->wd = inotify_add_watch(fd, conf->fname, IN_DELETE_SELF | 
IN_CLOSE_WRITE | IN_ATTRIB);
   138    TSDebug(PLUGIN_NAME, "Setting up a watcher for %s", conf->fname);
        
   CID 1518587 (#1 of 1): Buffer not null terminated (BUFFER_SIZE)
   7. buffer_size_warning: Calling strncpy with a maximum size argument of 4096 
bytes on destination array fname of size 4096 bytes might leave the destination 
string unterminated.
   139    strncpy(fname, conf->fname, MAX_PATH_LEN);
   140    char *dname = dirname(fname);
   ```


-- 
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: issues-unsubscr...@trafficserver.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to