osmo-hnbgw/tests
Philipp Maier b77d944961 ranap_rab_ass: do not free never allocated FieldItems
When we check for an assignment failure in a RAB AssignmnetResponse, we
use decode_rab_flitms_from_resp_ies to search through the list of RAB
FailedItemsIEs for the RAB id we want to check. In case of failure, we
get a positive index back from this function. We then know that the RAB
that we checked for has failed bcause it was in the FailedItemsList.

In that case, we also must free the RAB FailedItemsIEs that
decode_rab_flitms_from_resp_ies has decoded. At the moment we also free
the RAB FailedItemsIEs also when decode_rab_flitms_from_resp_ies returns
with a negative return code, which may mean that the RAB was not found
or some other error occured. In this case we must not free since then
no valid RAB FailedItemsIEs are allocated.

Related: OS#6062
Change-Id: I755ba6599079810a048bf5b6d8947b5a9ffa622d
2023-06-23 13:11:05 +00:00
..
config startup config tests: show default 'msc 0', 'sgsn 0' 2023-06-16 04:05:45 +02:00
ranap_rab_ass ranap_rab_ass: do not free never allocated FieldItems 2023-06-23 13:11:05 +00:00
Makefile.am ctrl test: also test msc 1 2023-06-16 04:25:31 +02:00
atlocal.in Initial structure + import code from osmo-iuh.git 2022-01-04 19:48:52 +01:00
cnpool.vty detect in/active CN links by RANAP RESET 2023-06-21 04:16:13 +02:00
nri_cfg.vty cnpool: make NRI mappings VTY configurable 2023-06-02 17:11:25 +02:00
osmo-hnbgw-vty-test.cfg add separate cfg file only for VTY tests 2023-05-26 23:23:21 +02:00
osmo-hnbgw.vty cfg: add 'hnbgw' / 'plmn MCC MNC' 2023-06-21 04:16:13 +02:00
test_nodes.ctrl ctrl test: also test msc 1 2023-06-16 04:25:31 +02:00
testsuite.at ranap_rab_ass: add decoder and rewrite functions for RAB-AssignmentRequest/Response 2022-02-02 10:51:38 +01:00