Commit 024dc223 authored by Swetank Srivastava's avatar Swetank Srivastava Committed by Vijay C

crash fix due to AS_Security after rebase with 3GPP_TTCN_System_Simulator

parent 6a802b8b
......@@ -7177,9 +7177,9 @@ void rrc_eNB_as_security_configuration_req(
kRRCint = CALLOC(1,32);
kUPenc = CALLOC(1,16);
kRRCenc = CALLOC(1,16);
memcpy(kRRCint,ASSecConfReq->Integrity.kRRCint, 32);
memcpy(kUPenc,ASSecConfReq->Ciphering.kUPenc, 16);
memcpy(kRRCenc,ASSecConfReq->Ciphering.kRRCenc, 16);
if (ASSecConfReq->Integrity.kRRCint) memcpy(kRRCint,ASSecConfReq->Integrity.kRRCint, 32);
if (ASSecConfReq->Ciphering.kUPenc) memcpy(kUPenc,ASSecConfReq->Ciphering.kUPenc, 16);
if (ASSecConfReq->Ciphering.kRRCenc) memcpy(kRRCenc,ASSecConfReq->Ciphering.kRRCenc, 16);
pdcp_config_set_security(
ctxt_pP,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment