<p>Richard Mudgett <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/6921">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">codec.c: Defensively check the returned samples.<br><br>Earlier versions of the codec_opus samples_count callback can return<br>negative error values on undecodable frames.  This resulted in a divide by<br>zero exception.<br><br>* Added a defensive check in ast_codec_samples_count() for a "negative"<br>samples count return value.  Log the event and set the count to zero.<br><br>ASTERISK-27194<br><br>Change-Id: Icf69350307ecbbc80a3d74de46af9bd80ea17819<br>---<br>M main/codec.c<br>1 file changed, 5 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/21/6921/2</pre><p>To view, visit <a href="https://gerrit.asterisk.org/6921">change 6921</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/6921"/><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: Icf69350307ecbbc80a3d74de46af9bd80ea17819 </div>
<div style="display:none"> Gerrit-Change-Number: 6921 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Richard Mudgett <rmudgett@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>