[asterisk-bugs] [JIRA] (ASTERISK-27956) res_pjsip_pubsub: segfault in function publish_expire
Asterisk Team (JIRA)
noreply at issues.asterisk.org
Fri Jul 6 15:05:54 CDT 2018
[ https://issues.asterisk.org/jira/browse/ASTERISK-27956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=244032#comment-244032 ]
Asterisk Team commented on ASTERISK-27956:
------------------------------------------
Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.
A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.
Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].
> res_pjsip_pubsub: segfault in function publish_expire
> ------------------------------------------------------
>
> Key: ASTERISK-27956
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-27956
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_pjsip_pubsub
> Affects Versions: 13.21.0, 15.4.1
> Reporter: Alexei Gradinari
> Labels: pjsip
>
> The function pubsub_on_rx_publish_request incorrectly uses
> of AST_SCHED_REPLACE_UNREF.
> The AST_SCHED_REPLACE_UNREF should unref old '_data'.
> Because of this, there may be a double unref
> of variable 'publication' when ast_sched_del is unsuccessful
> that leads to use after free of the 'publication' in publish_expire.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list