<p>Alexei Gradinari <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/9351">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res_pjsip_pubsub: segfault in function publish_expire<br><br>The function pubsub_on_rx_publish_request incorrectly uses<br>of AST_SCHED_REPLACE_UNREF.<br><br>The AST_SCHED_REPLACE_UNREF should unref old '_data'.<br><br>Because of this, there may be a double unref<br>of variable 'publication' when ast_sched_del is unsuccessful<br>that leads to use after free of the 'publication' in publish_expire.<br><br>ASTERISK-27956 #close<br><br>Change-Id: Ie0f0cfc7e036953d890b188656010b325a5cdc82<br>---<br>M res/res_pjsip_pubsub.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/51/9351/2</pre><p>To view, visit <a href="https://gerrit.asterisk.org/9351">change 9351</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/9351"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: Ie0f0cfc7e036953d890b188656010b325a5cdc82 </div>
<div style="display:none"> Gerrit-Change-Number: 9351 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Alexei Gradinari <alex2grad@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Richard Mudgett <rmudgett@digium.com> </div>