Pau Espin Pedrol has uploaded this change for review. ( 
https://gerrit.osmocom.org/11683


Change subject: abis_nm: parse_attr_resp_info_unreported: Fix offset calculation
......................................................................

abis_nm: parse_attr_resp_info_unreported: Fix offset calculation

Related: OS#3624
Change-Id: Ie61d70bc28427d5d879638516a36f590ce98bdc7
---
M src/osmo-bsc/abis_nm.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/83/11683/1

diff --git a/src/osmo-bsc/abis_nm.c b/src/osmo-bsc/abis_nm.c
index bb2b5e2..ba3801d 100644
--- a/src/osmo-bsc/abis_nm.c
+++ b/src/osmo-bsc/abis_nm.c
@@ -462,7 +462,7 @@

        /* the data starts right after the list of unreported attributes + 
space for length of that list */
        if (out_len)
-               *out_len = ari_len - (num_unreported + 2);
+               *out_len = ari_len - (num_unreported + 1);

        return ari + num_unreported + 1; /* we have to account for 1st byte 
with number of unreported attributes */
 }

--
To view, visit https://gerrit.osmocom.org/11683
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie61d70bc28427d5d879638516a36f590ce98bdc7
Gerrit-Change-Number: 11683
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <[email protected]>

Reply via email to