You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Igor Galić (JIRA)" <ji...@apache.org> on 2011/07/15 01:29:59 UTC

[jira] [Updated] (TS-826) TSHttpTxnErrorBodySet() can leak memory

     [ https://issues.apache.org/jira/browse/TS-826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Galić updated TS-826:
--------------------------

    Backport to Version:   (was: 3.0.1)
          Fix Version/s: 3.0.1

> 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.9, 2.1.8, 2.1.7, 2.1.6, 2.1.5, 2.1.4
>            Reporter: William Bardwell
>            Assignee: Leif Hedstrom
>            Priority: Minor
>             Fix For: 3.1.0, 3.0.1
>
>         Attachments: ebs.diff
>
>
> 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