<p>fixeria <strong>uploaded patch set #5</strong> to the change originally created by laforge.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/14876">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">osmo-bts-trx/scheduler: prevent uninitialized memory access<br><br>When sending an AMR BFI, we need to call osmo_amr_rtp_enc() with<br>AMR_BAD as the last parameter. This function returns the length<br>of encoded payload, which needs to be at least 2 octets long.<br><br>If osmo_amr_rtp_enc() returns a length value lower than 2 octets<br>(what should not happen in general), we should neither call<br>memset() on it, nor call _sched_compose_tch_ind().<br><br>Change-Id: I70ce98c5697b9ce6fac7ab57a5d70f3201db29d9<br>Fixes: CID#178648, CID#178637, CID#178651<br>---<br>M src/osmo-bts-trx/scheduler_trx.c<br>1 file changed, 18 insertions(+), 6 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/76/14876/5</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bts/+/14876">change 14876</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.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.osmocom.org/c/osmo-bts/+/14876"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bts </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I70ce98c5697b9ce6fac7ab57a5d70f3201db29d9 </div>
<div style="display:none"> Gerrit-Change-Number: 14876 </div>
<div style="display:none"> Gerrit-PatchSet: 5 </div>
<div style="display:none"> Gerrit-Owner: laforge <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-CC: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>