Commit 2c4b6169 authored by gauthier's avatar gauthier
Browse files

Null pointer

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5635 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 2f46f078
......@@ -2117,10 +2117,12 @@ static int _emm_as_establish_rej(const emm_as_establish_t *msg,
#endif
if (emm_ctx) {
emm_security_context = emm_ctx->security;
nas_msg.header.sequence_number = emm_security_context->dl_count.seq_num;
LOG_TRACE(DEBUG,
"Set nas_msg.header.sequence_number -> %u",
nas_msg.header.sequence_number);
if (emm_security_context) {
nas_msg.header.sequence_number = emm_security_context->dl_count.seq_num;
LOG_TRACE(DEBUG,
"Set nas_msg.header.sequence_number -> %u",
nas_msg.header.sequence_number);
}
}
/* Encode the initial NAS information message */
int bytes = _emm_as_encode(
......
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