Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
promise
OpenXG-RAN
Commits
2507933c
Commit
2507933c
authored
Dec 28, 2016
by
Raymond.Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix in rrc_eNB_s1AP.c. ue_context_p is used before checking if pointer is non-null.
parent
97534239
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
openair2/RRC/LITE/rrc_eNB_S1AP.c
openair2/RRC/LITE/rrc_eNB_S1AP.c
+5
-2
No files found.
openair2/RRC/LITE/rrc_eNB_S1AP.c
View file @
2507933c
...
...
@@ -774,8 +774,8 @@ rrc_eNB_process_S1AP_DOWNLINK_NAS(
ue_initial_id
=
S1AP_DOWNLINK_NAS
(
msg_p
).
ue_initial_id
;
eNB_ue_s1ap_id
=
S1AP_DOWNLINK_NAS
(
msg_p
).
eNB_ue_s1ap_id
;
ue_context_p
=
rrc_eNB_get_ue_context_from_s1ap_ids
(
instance
,
ue_initial_id
,
eNB_ue_s1ap_id
);
srb_id
=
ue_context_p
->
ue_context
.
Srb2
.
Srb_info
.
Srb_id
;
LOG_I
(
RRC
,
"[eNB %d] Received %s: ue_initial_id %d, eNB_ue_s1ap_id %d
\n
"
,
instance
,
msg_name
,
...
...
@@ -822,6 +822,9 @@ rrc_eNB_process_S1AP_DOWNLINK_NAS(
}
else
{
PROTOCOL_CTXT_SET_BY_INSTANCE
(
&
ctxt
,
instance
,
ENB_FLAG_YES
,
ue_context_p
->
ue_context
.
rnti
,
0
,
0
);
srb_id
=
ue_context_p
->
ue_context
.
Srb2
.
Srb_info
.
Srb_id
;
/* Is it the first income from S1AP ? */
if
(
ue_context_p
->
ue_context
.
eNB_ue_s1ap_id
==
0
)
{
ue_context_p
->
ue_context
.
eNB_ue_s1ap_id
=
S1AP_DOWNLINK_NAS
(
msg_p
).
eNB_ue_s1ap_id
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment