Null pointer
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5635 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
@@ -2117,10 +2117,12 @@ static int _emm_as_establish_rej(const emm_as_establish_t *msg,
|
|||||||
#endif
|
#endif
|
||||||
if (emm_ctx) {
|
if (emm_ctx) {
|
||||||
emm_security_context = emm_ctx->security;
|
emm_security_context = emm_ctx->security;
|
||||||
nas_msg.header.sequence_number = emm_security_context->dl_count.seq_num;
|
if (emm_security_context) {
|
||||||
LOG_TRACE(DEBUG,
|
nas_msg.header.sequence_number = emm_security_context->dl_count.seq_num;
|
||||||
"Set nas_msg.header.sequence_number -> %u",
|
LOG_TRACE(DEBUG,
|
||||||
nas_msg.header.sequence_number);
|
"Set nas_msg.header.sequence_number -> %u",
|
||||||
|
nas_msg.header.sequence_number);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
/* Encode the initial NAS information message */
|
/* Encode the initial NAS information message */
|
||||||
int bytes = _emm_as_encode(
|
int bytes = _emm_as_encode(
|
||||||
|
|||||||
Reference in New Issue
Block a user