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

TSHttpTxnErrorBodySet() can leak memory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.9, 2.1.8, 2.1.7, 2.1.6, 2.1.5, 2.1.4
    • 3.1.0, 3.0.1
    • TS API
    • None

    Description

      TSHttpTxnErrorBodySet() sets HttpSM::t_state.internal_msg_buffer without freeing any old contents in there.
      There can be an error message in that if you have a request with a bad hostname and you let the transaction get past DNS
      lookup. Instead it should free the contents, or there should be another field that it sets and nothing else does.

      Attachments

        1. ebs.diff
          0.8 kB
          William Bardwell

        Activity

          People

            zwoop Leif Hedstrom
            wbardwel William Bardwell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: