[
https://issues.apache.org/jira/browse/TS-4432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Leif Hedstrom updated TS-4432:
------------------------------
Fix Version/s: 7.0.0
> TSVConnFdCreate, double free on connectUp failure
> -------------------------------------------------
>
> Key: TS-4432
> URL: https://issues.apache.org/jira/browse/TS-4432
> Project: Traffic Server
> Issue Type: Bug
> Components: TS API
> Reporter: Oknet Xu
> Fix For: 7.0.0
>
>
> {{vc->free()}} has been called when connectUp return {CONNECT_FAILURE}.
> but {{TSVConnFdCreate}} call {{vc->free()}} again on {{NOT}}
> {{CONNECT_SUCCESS}}.
> {code}
> if (vc->connectUp(this_ehtread(), fd) != CONNECT_SUCCESS) {
> vc->free(this_ethread());
> return NULL;
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)