Bug #2904
closedTLV parser repeated IE handling incompliant with 3GPP Specs
0%
Description
TS 24.008 and TS 44.018 Section 8.6.3 "Repeated IEs" state that unless otherwise specified, if a T/TV/TLV IE is repeated several times inside a message, the first occurrence shall be used.
The libosmogsm implementation in tlv_parse() however overwrites the dec->lv[] array with every subsequent occurrence, so that we're using the last occurrence, rather than the first.
We should change the behavior, or (if needed, which I doubt) make it configurable
We should also test for this, either as unit test in libosmogsm, or as TTCN-3 test for BSC and/or MSC. Both somehow would make sense to me.
Updated by stsp about 6 years ago
This issue was fixed by https://gerrit.osmocom.org/#/c/6327/, and https://gerrit.osmocom.org/#/c/7322/ adds a regression test for this issue.
Updated by stsp about 6 years ago
- Status changed from New to Resolved
Both changes have been merged. Closing this issue.