TSHttpTxnErrorBodySet() can leak memory
---------------------------------------

                 Key: TS-826
                 URL: https://issues.apache.org/jira/browse/TS-826
             Project: Traffic Server
          Issue Type: Bug
          Components: TS API
    Affects Versions: 2.1.4, 2.1.5, 2.1.6, 2.1.7, 2.1.8, 2.1.9
            Reporter: William Bardwell
            Priority: Minor


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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to