Commit 24fb627b authored by Lionel Gauthier's avatar Lionel Gauthier

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5292 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 996752e9
......@@ -160,8 +160,10 @@ mme_app_handle_authentication_info_answer(
DevAssert(ue_context->vector_list != NULL);
} else {
/* Some vector already exist */
ue_context->vector_list = realloc(ue_context->vector_list,
(ue_context->nb_of_vectors + 1) * sizeof(eutran_vector_t));
ue_context->vector_list = realloc(
ue_context->vector_list,
(ue_context->nb_of_vectors + s6a_auth_info_ans_pP->auth_info.nb_of_vectors) * sizeof(eutran_vector_t));
DevAssert(ue_context->vector_list != NULL);
}
memcpy(&ue_context->vector_list[ue_context->nb_of_vectors],
......@@ -171,9 +173,11 @@ mme_app_handle_authentication_info_answer(
ue_context->nb_of_vectors += s6a_auth_info_ans_pP->auth_info.nb_of_vectors;
MME_APP_ERROR("INFORMING NAS ABOUT AUTH RESP SUCCESS\n");
MME_APP_DEBUG("INFORMING NAS ABOUT AUTH RESP SUCCESS got %u vector(s)\n",
s6a_auth_info_ans_pP->auth_info.nb_of_vectors);
mme_app_itti_auth_rsp(ue_context->ue_id, 1,
mme_app_itti_auth_rsp(ue_context->ue_id,
1,
&s6a_auth_info_ans_pP->auth_info.eutran_vector);
} else {
MME_APP_ERROR("INFORMING NAS ABOUT AUTH RESP ERROR CODE\n");
......
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