qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Ross (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PROTON-1531) C epoll proactor listener cleanup race
Date Wed, 27 Sep 2017 18:35:00 GMT

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

Justin Ross updated PROTON-1531:
--------------------------------
    Fix Version/s:     (was: proton-c-0.18.0)
                   proton-c-0.19.0

> C epoll proactor listener cleanup race
> --------------------------------------
>
>                 Key: PROTON-1531
>                 URL: https://issues.apache.org/jira/browse/PROTON-1531
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>    Affects Versions: proton-c-0.18.0
>            Reporter: Cliff Jansen
>            Assignee: Alan Conway
>             Fix For: proton-c-0.19.0
>
>
> It is possible that closing a listener while an incoming connection is about to trigger
an epoll event on the listener can result in accessing free'd memory.
> The solution is to force an event event to fire via a shutdown() call on the socket and
delay deletion until the callback completes.  This strategy is already in use by the pconnection
cleanup logic, which can be used as a template.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message