diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2016-01-13 15:55:01 +0100 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2016-02-05 18:27:10 +0100 |
commit | c2141c6064ddf5283937c7f77468bf2396787804 (patch) | |
tree | 8a0a9b762aec6a1c48357aa36f457c1d4c09e6c5 /git-version-gen | |
parent | 70955c765cbd7d58f8e9fec134becfd53ea395e1 (diff) |
edge: Workaround to fix decoding of EGPRS_AckNack_w_len_t
The presence of the LENGTH field adds an additional offset which
breaks the related M_SERIALIZE in gsm_rlcmac.cpp. In that case,
the Desc in EGPRS_AckNack_t is being cast to EGPRS_AckNack_w_len_t
and then ((EGPRS_AckNack_w_len_t *)Desc)->Desc is filled with the
parsed data, which is a platform dependant number of bytes apart the
real Desc struct.
Remove LENGTH field from EGPRS_AckNack_w_len_t so that the Desc field
is the first field.
Note that this is not a real fix. The rlcmac wireshark dissector
still has the same declaration but doesn't seem to suffer from this
problem.
Sponsored-by: On-Waves ehf
Diffstat (limited to 'git-version-gen')
0 files changed, 0 insertions, 0 deletions