[asterisk-bugs] [JIRA] (ASTERISK-23412) Theoretical ref-leak in chan_sip autokill
Steve Davies (JIRA)
noreply at issues.asterisk.org
Tue Mar 4 04:15:48 CST 2014
Steve Davies created ASTERISK-23412:
---------------------------------------
Summary: 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: 11.8.0, 1.8.27.0
Environment: Theoretical / Code review
Reporter: Steve Davies
Severity: Minor
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