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

        William Bardwell created issue -
        Leif Hedstrom made changes -
        Field Original Value New Value
        Assignee Leif Hedstrom [ zwoop ]
        Fix Version/s 3.1.0 [ 12315515 ]
        William Bardwell made changes -
        Attachment ebs.diff [ 12483163 ]
        Leif Hedstrom made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Leif Hedstrom made changes -
        Backport to Version 3.0.1 [ 12316365 ]
        Igor Galić made changes -
        Fix Version/s 3.0.1 [ 12316365 ]
        Backport to Version 3.0.1 [ 12316365 ]
        Leif Hedstrom made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Leif Hedstrom made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development