gsm_rlcmac.cpp: fix an out of bounds access

Port from wireshark.git a4a5adb68b898f770e2addf9168d796979ebe237.

Ported-by: Pau Espin Pedrol <pespin@sysmocom.de>
Change-Id: I23fb2199fc8f9cc3e5bd475e2558ee8d482df1e1
This commit is contained in:
Pascal Quantin 2020-01-28 18:08:15 +01:00 committed by Pau Espin Pedrol
parent 463746917f
commit e4a243c02b
1 changed files with 1 additions and 1 deletions

View File

@ -3480,7 +3480,7 @@ CSN_DESCR_END (PMR_AdditionsR8_t)
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),