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

   ```
   395  if (strlen(inline_script) == 0 && argc - optind < 1) {
   396    strncpy(errbuf, "[TSRemapNewInstance] - lua script file or string is 
required !!", errbuf_size - 1);
   397    errbuf[errbuf_size - 1] = '\0';
   398    return TS_ERROR;
   399  }
   400
        
   CID 1508970 (#1 of 1): Uninitialized scalar variable (UNINIT)
   30. uninit_use_in_call: Using uninitialized value *script when calling 
strlen.
   401  if (strlen(script) >= TS_LUA_MAX_SCRIPT_FNAME_LENGTH - 16) {
   402    strncpy(errbuf, "[TSRemapNewInstance] - lua script file name too long 
!!", errbuf_size - 1);
   403    errbuf[errbuf_size - 1] = '\0';
   404    return TS_ERROR;
   405  }
   ```


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