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

TSVConnFdCreate, double free on connectUp failure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.0.0
    • TS API
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: