diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2020-01-28 18:08:15 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-01-28 18:08:29 +0100 |
commit | e4a243c02b74a88a36b0ac7c0b4eb4ee7d6d9fed (patch) | |
tree | 9f99ffe1e41d2b762551819b47e9850d6d02b1aa | |
parent | 463746917f8ee2a230c09940335f592720c0e1e3 (diff) |
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
-rw-r--r-- | src/gsm_rlcmac.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gsm_rlcmac.cpp b/src/gsm_rlcmac.cpp index 70069004..39f328d5 100644 --- a/src/gsm_rlcmac.cpp +++ b/src/gsm_rlcmac.cpp @@ -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), |