- 12 Aug, 2024 4 commits
-
-
Guido Casati authored
* local dl_dcch_msg shall be freed after use > Direct leak of 384 byte(s) in 6 object(s) allocated from: >0 0x7ffff74b4a57 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:154 >1 0x555557737ced in SEQUENCE_decode_uper /cmake_targets/ran_build/build/openair2/RRC/LTE/MESSAGES/constr_SEQUENCE_uper.c:37 >2 0x555557746da1 in uper_decode /cmake_targets/ran_build/build/openair2/RRC/LTE/MESSAGES/uper_decoder.c:83 >3 0x555556fa4b31 in nr_rrc_ue_decode_dcch /openair2/RRC/NR_UE/rrc_UE.c:1612 >4 0x555556fbb25c in rrc_nrue /openair2/RRC/NR_UE/rrc_UE.c:1792 >5 0x555556fc4a4e in rrc_nrue_task /openair2/RRC/NR_UE/rrc_UE.c:1718 >6 0x7ffff5e94ac2 in start_thread nptl/pthread_create.c:442
-
Guido Casati authored
* The RRC task is freeing the ITTI message but the message members that are allocated separetely still need to be freed > Direct leak of 470 byte(s) in 6 object(s) allocated from: >0 0x7ffff74b4a57 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:154 >1 0x55555721f117 in itti_malloc /common/utils/ocp_itti/intertask_interface.cpp:64 >2 0x555556f2356c in deliver_sdu_srb /openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c:775 >3 0x555556f4e10e in nr_pdcp_entity_recv_pdu /openair2/LAYER2/nr_pdcp/nr_pdcp_entity.c:184 >4 0x555556f278ad in do_pdcp_data_ind /openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c:285 >5 0x555556f278ad in pdcp_data_ind_thread /openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c:307 >6 0x7ffff5e94ac2 in start_thread nptl/pthread_create.c:442
-
Guido Casati authored
* strdup is returning a malloced string which needs to be freed after use > Direct leak of 90 byte(s) in 1 object(s) allocated from: > 0 0x7ffff745b9a7 in __interceptor_strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:454 > 1 0x5555591598a3 in main /executables/nr-softmodem.c:667 > 2 0x7ffff5e29d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58
-
Guido Casati authored
* allocate memory in heap for the struct ue_CapabilityRAT_Container used locally for buffer encoding * free the struct members only for the ul_dcch_msg allocated on the stack > Direct leak of 40 byte(s) in 1 object(s) allocated from: > 0 0x7ffff74b4a57 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:154 > 1 0x555556f7a89f in nr_rrc_ue_process_ueCapabilityEnquiry /openair2/RRC/NR_UE/rrc_UE.c:1861 > 2 0x555556fa4d85 in nr_rrc_ue_decode_dcch /openair2/RRC/NR_UE/rrc_UE.c:1650 > 3 0x555556fbb33c in rrc_nrue /openair2/RRC/NR_UE/rrc_UE.c:1790 > 4 0x555556fc4b2e in rrc_nrue_task /openair2/RRC/NR_UE/rrc_UE.c:1716 > 5 0x7ffff5e94ac2 in start_thread nptl/pthread_create.c:442
-
- 08 Aug, 2024 2 commits
-
-
Guido Casati authored
-
Guido Casati authored
* strdup() function is returning a malloced string which must be freed after use * replace the strdup with direct use of strings to avoid heap allocation > Direct leak of 23 byte(s) in 1 object(s) allocated from: > 0 0x7ffff745b9a7 in __interceptor_strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:454 > 1 0x555559e36f87 in RCconfig_nr_parallel /openair2/GNB_APP/gnb_config.c:2054 > 2 0x555559e38ea3 in NRRCConfig /openair2/GNB_APP/gnb_config.c:2097 > 3 0x555559155542 in get_options /executables/nr-softmodem.c:423 > 4 0x555559155542 in main /executables/nr-softmodem.c:623 > 5 0x7ffff5e29d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 > Direct leak of 14 byte(s) in 1 object(s) allocated from: > 0 0x7ffff745b9a7 in __interceptor_strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:454 > 1 0x555559e370c5 in RCconfig_nr_parallel /openair2/GNB_APP/gnb_config.c:2063 > 2 0x555559e38ea3 in NRRCConfig /openair2/GNB_APP/gnb_config.c:2097 > 3 0x555559155542 in get_options /executables/nr-softmodem.c:423 > 4 0x555559155542 in main /executables/nr-softmodem.c:623 > 5 0x7ffff5e29d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58
-
- 30 Jul, 2024 15 commits
-
-
Robert Schmidt authored
Integration: `2024.w30` See merge request oai/openairinterface5g!2877 * !2830 NR feature set update * !2868 Fix support for USRP UHD Versions => 4.5.0.0 * !2870 fix(docker): base image for target oai-gnb-aw2s shall be jammy * !2874 Fix memory leaks in gNB PDU Session Setup Request processing * !2866 RRC: reject PDU sessions if security is not active * !2829 Automatic update of USRP RX gain during initial search using --agc option * !2878 USRP: add a T trace to record the TX IQ data on antenna 0 * !2633 Handle F1 Reset at DU, and ensure state re-init on F1Setup * !2864 Fix an assert in power control * !2754 Introduce gold sequence cache
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Laurent THOMAS authored
-
Laurent THOMAS authored
-
Laurent THOMAS authored
-
Laurent THOMAS authored
-
Laurent THOMAS authored
-
Robert Schmidt authored
-
Laurent THOMAS authored
Harmonize nr_gold_pusch() and nr_gold_pdsch(), as the gold sequence calculation for PUSCH and PDSCH is the same.
-
Laurent THOMAS authored
-
Laurent THOMAS authored
-
Laurent THOMAS authored
-
Robert Schmidt authored
-
Jaroslava Fiedlerova authored
-
- 29 Jul, 2024 4 commits
-
-
Robert Schmidt authored
-
Xin Zhe Khooi authored
-
Robert Schmidt authored
-
Xin Zhe Khooi authored
38.473 requires to reset UE-related contexts in F1 Setup Request, so do it. However, avoid resetting UE states in phy_test: it has preconfigured UE which we should not reset. Note that if NSA/phy-test used F1, we could likely reset the UE state here, as the F1 UE context setup would come afterwards.
-
- 26 Jul, 2024 15 commits
-
-
Jaroslava Fiedlerova authored
-
Jaroslava Fiedlerova authored
-
Laurent THOMAS authored
Add gold sequence cache with dynamic size, private to each thread. It periodically reorders by call rate. To free the gold sequences after end of life time of a thread, use the pthread API.
-
Jaroslava Fiedlerova authored
-
Jaroslava Fiedlerova authored
-
Cedric Roux authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Bartosz Podrygajlo authored
Fix a bug where if BWP size is not exactly maximum BWP size for a bandwidth power control code asserts. This assert and assumption is incorrect, according to 38.101-1 UE channel is defined only by the BWP size and BWP size can be any value supported by the RRC parameters defining the BWP. To determine the UE channel the smallest bandwidth supporting the BWP is selected. This is an assumption based on references in the same document to UE channel bandwidth being equal to one of the values in set {5, 10, 15, 20, 25, 30, 35, 40, 50, 60, 70, 80, 90, 100}. Also: - calculated P_CMIN during BWP setup since the parameter doesn't depend on DCI. - initiialize uniqCfg structure in test_nr_ue_power_procedures main function which enables LOG prints during tests
-
Jaroslava Fiedlerova authored
-
Jaroslava Fiedlerova authored
-
Jaroslava Fiedlerova authored
-
Xin Zhe Khooi authored
-