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

MemLeak: ~NetAccept() do not free alloc_cache(vc)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 6.1.0
    • 6.2.0
    • Core

    Description

      NetAccpet::alloc_cache is a void pointor is used in net_accept().

      the alloc_cache does not release after NetAccept canceled.

      I'm looking for all code, believe the "alloc_cache" is a bad idea here.

      I create a pull request on github: https://github.com/apache/trafficserver/pull/366

      also add a condition check for vc==NULL after allocate_vc()

      Attachments

        Activity

          People

            bcall Bryan Call
            oknet Chao Xu
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: