Commit 60bf3a98 authored by Robert Schmidt's avatar Robert Schmidt

Merge remote-tracking branch 'origin/fix-dnn-size' into integration_2023_w03

parents d0bc613d 90a836a0
...@@ -751,7 +751,7 @@ static void generatePduSessionEstablishRequest(int Mod_id, uicc_t * uicc, as_nas ...@@ -751,7 +751,7 @@ static void generatePduSessionEstablishRequest(int Mod_id, uicc_t * uicc, as_nas
int dnnSize=strlen(uicc->dnnStr); int dnnSize=strlen(uicc->dnnStr);
mm_msg->uplink_nas_transport.dnn.value=calloc(1,dnnSize+1); mm_msg->uplink_nas_transport.dnn.value=calloc(1,dnnSize+1);
mm_msg->uplink_nas_transport.dnn.length = dnnSize + 1; mm_msg->uplink_nas_transport.dnn.length = dnnSize + 1;
mm_msg->uplink_nas_transport.dnn.value[0] = dnnSize + 1; mm_msg->uplink_nas_transport.dnn.value[0] = dnnSize;
memcpy(mm_msg->uplink_nas_transport.dnn.value+1,uicc->dnnStr, dnnSize); memcpy(mm_msg->uplink_nas_transport.dnn.value+1,uicc->dnnStr, dnnSize);
size += (1+1+dnnSize+1); size += (1+1+dnnSize+1);
......
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