<p>Pau Espin Pedrol has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/11683">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">abis_nm: parse_attr_resp_info_unreported: Fix offset calculation<br><br>Related: OS#3624<br>Change-Id: Ie61d70bc28427d5d879638516a36f590ce98bdc7<br>---<br>M src/osmo-bsc/abis_nm.c<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-bsc refs/changes/83/11683/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/osmo-bsc/abis_nm.c b/src/osmo-bsc/abis_nm.c</span><br><span>index bb2b5e2..ba3801d 100644</span><br><span>--- a/src/osmo-bsc/abis_nm.c</span><br><span>+++ b/src/osmo-bsc/abis_nm.c</span><br><span>@@ -462,7 +462,7 @@</span><br><span> </span><br><span>       /* the data starts right after the list of unreported attributes + space for length of that list */</span><br><span>  if (out_len)</span><br><span style="color: hsl(0, 100%, 40%);">-            *out_len = ari_len - (num_unreported + 2);</span><br><span style="color: hsl(120, 100%, 40%);">+            *out_len = ari_len - (num_unreported + 1);</span><br><span> </span><br><span>       return ari + num_unreported + 1; /* we have to account for 1st byte with number of unreported attributes */</span><br><span> }</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/11683">change 11683</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/11683"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ie61d70bc28427d5d879638516a36f590ce98bdc7 </div>
<div style="display:none"> Gerrit-Change-Number: 11683 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Pau Espin Pedrol <pespin@sysmocom.de> </div>