You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2016/05/10 17:54:13 UTC
[jira] [Updated] (TS-4432) TSVConnFdCreate, double free on
connectUp failure
[ 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)