Traffic Server
  1. Traffic Server
  2. TS-826

TSHttpTxnErrorBodySet() can leak memory

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.9, 2.1.8, 2.1.7, 2.1.6, 2.1.5, 2.1.4
    • Fix Version/s: 3.1.0, 3.0.1
    • Component/s: TS API
    • Labels:
      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.

      1. ebs.diff
        0.8 kB
        William Bardwell

        Activity

          People

          • Assignee:
            Leif Hedstrom
            Reporter:
            William Bardwell
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development