<p>Benjamin Keith Ford <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/6464">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res_pjsip_session: Check for removed stream state.<br><br>When a sip session is refreshed, the stream topology is looped<br>through, checking each stream for compatible formats. This would<br>cause a crash if the stream state was AST_STREAM_STATE_REMOVED,<br>since the formats would never be set for this stream, causing<br>a NULL value to be returned from ast_stream_get_formats. This<br>commit adds a check for streams with removed states.<br><br>Also removed a stray semicolon.<br><br>Change-Id: Ic86f8b65a4a26a60885b28b8b1a0b22e1b471d42<br>---<br>M main/bridge.c<br>M res/res_pjsip_session.c<br>2 files changed, 3 insertions(+), 4 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/64/6464/2</pre><p>To view, visit <a href="https://gerrit.asterisk.org/6464">change 6464</a>. To unsubscribe, 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/6464"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 15 </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: Ic86f8b65a4a26a60885b28b8b1a0b22e1b471d42 </div>
<div style="display:none"> Gerrit-Change-Number: 6464 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Benjamin Keith Ford <bford@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@digium.com> </div>