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

CID 1356973 dead code in proxy/hdrs/HTTP.cc

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0.0
    • Component/s: HTTP
    • Labels:
      None

      Description

      1069
      notnull: At condition url_start, the value of url_start cannot be NULL.
      dead_error_condition: The condition !url_start cannot be true.
      notnull: At condition url_end, the value of url_end cannot be NULL.
      dead_error_condition: The condition !url_end cannot be true.
      1070 if (!url_start || !url_end)

      CID 1356973 (#1 of 1): Logically dead code (DEADCODE)
      dead_error_line: Execution cannot reach this statement: return PARSE_ERROR;.
      1071 return PARSE_ERROR;

        Attachments

          Activity

            People

            • Assignee:
              ngara Nathan Garabedian
              Reporter:
              ngara Nathan Garabedian
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2.5h
                2.5h