<p>neels <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-pcu/+/25182">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">fix: handle NULL return of as_dl_tbf() and as_ul_tbf()<br><br>Go through all callers of as_dl_tbf() and as_ul_tbf(), and make sure<br>they can handle the possible NULL return value.<br><br>OS#5205 reports a NULL deref crash of osmo-pcu at pdch.cpp:525. The<br>immediate cause is that as_dl_tbf() may well return NULL, which this<br>caller does not handle and instead dereferences immediately.<br>This is a code path that apparently assumes that a DL-TBF should always<br>be present. The higher level cause for the NULL DL-TBF has not been<br>identified.<br><br>Related: OS#5205 SYS#5561<br>Change-Id: I8ce21be6836549b47a606c00b793d6f005964c5c<br>---<br>M src/bts.cpp<br>M src/gprs_ms.c<br>M src/gprs_rlcmac_sched.cpp<br>M src/gprs_rlcmac_ts_alloc.cpp<br>M src/pdch.cpp<br>M src/tbf.cpp<br>6 files changed, 57 insertions(+), 37 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/82/25182/2</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-pcu/+/25182">change 25182</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-pcu/+/25182"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-pcu </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I8ce21be6836549b47a606c00b793d6f005964c5c </div>
<div style="display:none"> Gerrit-Change-Number: 25182 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>