dirty fixes that fix the UL malformed packets (detected in wireshark), and also internally memory corrpution

This commit is contained in:
Laurent THOMAS
2021-06-23 21:41:56 +02:00
parent aa9837395e
commit 64e58a4300
8 changed files with 44 additions and 76 deletions
+1 -1
View File
@@ -1264,7 +1264,7 @@ nr_rrc_ue_process_masterCellGroup(
// NSA procedures
}
if(NR_UE_rrc_inst[ctxt_pP->module_id].cell_group_config == NULL){
NR_UE_rrc_inst[ctxt_pP->module_id].cell_group_config = malloc(sizeof(NR_CellGroupConfig_t));
NR_UE_rrc_inst[ctxt_pP->module_id].cell_group_config = calloc(1,sizeof(NR_CellGroupConfig_t));
}