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

TSHttpTxnErrorBodySet() can leak memory (pt 2)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.1
    • 3.1.2, 3.0.3
    • None
    • None

    Description

      TS-826 resolved a memory leak with TSHttpTxnErrorBodySet but it appears that mimetype is still being leaked. See HttpSM::setup_internal_transfer line 5416 which frees internal_msg_buffer_type...it's expected that mimetype was malloced since clearly it's being freed. So that means there is still a memory leak in TSHttpTxnErrorBodySet().

      Patch included.

      Attachments

        1. TSHttpTxnErrorBodySet.patch
          0.5 kB
          Brian Geffon

        Activity

          People

            i.galic Igor Galić
            briang Brian Geffon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: