<p><a href="https://gerrit.osmocom.org/13133">View Change</a></p><p>1 comment:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/13133/1/src/encoding.cpp">File src/encoding.cpp:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/13133/1/src/encoding.cpp@1098">Patch Set #1, Line 1098:</a> <code style="font-family:monospace,monospace"> while (len) {</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">iiuc when identity[0] & 0x07) == 4, then necessarily len = 32, would be nice to add an ASSERT or som […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Probably not an ASSERT as this is outside data (even if just the pcu sock). We don't want to bring down the whole bts in that case, do we?</p><p style="white-space: pre-wrap; word-wrap: break-word;">Should we output a LOGL_ERROR and cap len to 4?</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/13133">change 13133</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/13133"/><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-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: Iddb00b9133f523f4ba09c8f1fc5694e62dc46fbf </div>
<div style="display:none"> Gerrit-Change-Number: 13133 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Daniel Willmann <dwillmann@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Daniel Willmann <dwillmann@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: Omar Ramadan <omar.ramadan93@gmail.com> </div>
<div style="display:none"> Gerrit-CC: Pau Espin Pedrol <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 05 Mar 2019 18:48:57 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>