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

TSVConnFdCreate, double free on connectUp failure

    XMLWordPrintableJSON

    Details

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

      Description

      vc->free() has been called when connectUp return

      {CONNECT_FAILURE}

      .

      but TSVConnFdCreate call vc->free() again on NOT CONNECT_SUCCESS.

          if (vc->connectUp(this_ehtread(), fd) != CONNECT_SUCCESS) {
            vc->free(this_ethread());
            return NULL;
          }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jamespeach James Peach
                Reporter:
                oknet Chao Xu
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: