<p>lynxis lazus has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/14302">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">encoding: correct encoding of CRBB in ACK/NACK when not byte aligned<br><br>The last bits of the CRBB (compressed receive block bitmap) was incorrect<br>encoded when the CRBB is not byte aligned.<br><br>Related: OS#3728<br>Change-Id: I7261aa71b37d7ead52992f8db462f72a3804988e<br>---<br>M src/encoding.cpp<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/02/14302/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/encoding.cpp b/src/encoding.cpp</span><br><span>index 1b325b4..b6879cc 100644</span><br><span>--- a/src/encoding.cpp</span><br><span>+++ b/src/encoding.cpp</span><br><span>@@ -965,7 +965,7 @@</span><br><span>                                crbb_len = crbb_len - 8;</span><br><span>                             iter++;</span><br><span>                      } else {</span><br><span style="color: hsl(0, 100%, 40%);">-                                bitvec_write_field(dest, &wp, crbb_bitmap[iter], crbb_len);</span><br><span style="color: hsl(120, 100%, 40%);">+                               bitvec_write_field(dest, &wp, crbb_bitmap[iter] >> (8 - crbb_len), crbb_len);</span><br><span>                              crbb_len = 0;</span><br><span>                        }</span><br><span>            }</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/14302">change 14302</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/14302"/><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: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I7261aa71b37d7ead52992f8db462f72a3804988e </div>
<div style="display:none"> Gerrit-Change-Number: 14302 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: lynxis lazus <lynxis@fe80.eu> </div>