Change in osmo-pcu[master]: gsm_rlcmac.cpp: fix an out of bounds access

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Tue Jan 28 21:38:31 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-pcu/+/17048 )

Change subject: gsm_rlcmac.cpp: fix an out of bounds access
......................................................................

gsm_rlcmac.cpp: fix an out of bounds access

Port from wireshark.git a4a5adb68b898f770e2addf9168d796979ebe237.

Ported-by: Pau Espin Pedrol <pespin at sysmocom.de>
Change-Id: I23fb2199fc8f9cc3e5bd475e2558ee8d482df1e1
---
M src/gsm_rlcmac.cpp
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  fixeria: Looks good to me, approved



diff --git a/src/gsm_rlcmac.cpp b/src/gsm_rlcmac.cpp
index 7006900..39f328d 100644
--- a/src/gsm_rlcmac.cpp
+++ b/src/gsm_rlcmac.cpp
@@ -3480,7 +3480,7 @@
 
 static const
 CSN_DESCR_BEGIN (PMR_AdditionsR5_t)
-  M_NEXT_EXIST  (PMR_AdditionsR5_t, Exist_GRNTI, 4),
+  M_NEXT_EXIST  (PMR_AdditionsR5_t, Exist_GRNTI, 3),
   M_UINT        (PMR_AdditionsR5_t,  GRNTI,  4),
   M_NEXT_EXIST_OR_NULL (PMR_AdditionsR5_t, Exist_AdditionsR8, 1),
   M_TYPE        (PMR_AdditionsR5_t, AdditionsR8, PMR_AdditionsR8_t),

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/17048
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I23fb2199fc8f9cc3e5bd475e2558ee8d482df1e1
Gerrit-Change-Number: 17048
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <axilirator at gmail.com>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200128/170a1c98/attachment.htm>


More information about the gerrit-log mailing list