[asterisk-bugs] [JIRA] (ASTERISK-23412) Theoretical ref-leak in chan_sip autokill
Joshua Colp (JIRA)
noreply at issues.asterisk.org
Mon Dec 18 10:44:09 CST 2017
[ https://issues.asterisk.org/jira/browse/ASTERISK-23412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joshua Colp updated ASTERISK-23412:
-----------------------------------
Affects Version/s: 13.18.4
> Theoretical ref-leak in chan_sip autokill
> -----------------------------------------
>
> Key: ASTERISK-23412
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-23412
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Channels/chan_sip/General
> Affects Versions: 1.8.27.0, 11.8.0, 13.18.4
> Environment: Theoretical / Code review
> Reporter: Steve Davies
> Severity: Minor
> Attachments: theoretical_sip_autokill_fix.diff
>
>
> While investigating a different ref-count issue, I observed that {code}pvt->autokillid{code} can be prematurely reset to -1 in __sip_autodestruct(), causing a potential ref-leak issue.
> IMHO It should only be reset if the call is not going to be rescheduled, and after the lock has been obtained.
> I have not seen this cause an issue in the wild.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list