Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-3996

CID 1338133: Control flow issues (DEADCODE) /cmd/traffic_manager/traffic_manager.cc

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 7.1.0
    • Manager
    • None

    Description

      Hi,
      
      Please find the latest report on new defect(s) introduced to Apache Traffic Server found with Coverity Scan.
      
      1 new defect(s) introduced to Apache Traffic Server found with Coverity Scan.
      6 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.
      
      New defect(s) Reported-by: Coverity Scan
      Showing 1 of 1 defect(s)
      
      
      ** CID 1338133:  Control flow issues  (DEADCODE)
      /cmd/traffic_manager/traffic_manager.cc: 569 in main()
      
      
      ________________________________________________________________________________________________________
      *** CID 1338133:  Control flow issues  (DEADCODE)
      /cmd/traffic_manager/traffic_manager.cc: 569 in main()
      563         int facility_int;
      564     
      565         facility_str = REC_readString(sys_var, &found);
      566         ink_assert(found);
      567     
      568         if (!found) {
         CID 1338133:  Control flow issues  (DEADCODE)
         Execution cannot reach this statement: "mgmt_elog(0, "Could not rea...".
      569           mgmt_elog(0, "Could not read %s.  Defaulting to LOG_DAEMON\n", sys_var);
      570           facility_int = LOG_DAEMON;
      571         } else {
      572           facility_int = facility_string_to_int(facility_str);
      573           ats_free(facility_str);
      574           if (facility_int < 0) {
      
      

      Attachments

        Activity

          People

            amc Alan M. Carroll
            zwoop Leif Hedstrom
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: