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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
8f46b07b
Commit
8f46b07b
authored
11 months ago
by
Laurent THOMAS
Committed by
Robert Schmidt
10 months ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Lacking RRC check: avoid SEGV if the received packet is not what we believe
parent
f77f4287
Branches unavailable
2025.w14
2025.w13
2025.w12
2025.w11
2025.w10
2025.w09
2025.w08
2025.w07
2025.w06
2025.w05
2025.w04
2025.w03
2025.w02
2024.w51
2024.w50
2024.w49
2024.w48
2024.w47
2024.w46
2024.w45
2024.w44
2024.w43
2024.w42
2024.w41
2024.w40
v2.2.0
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
openair2/RRC/NR_UE/rrc_UE.c
openair2/RRC/NR_UE/rrc_UE.c
+6
-4
No files found.
openair2/RRC/NR_UE/rrc_UE.c
View file @
8f46b07b
...
@@ -551,14 +551,16 @@ static void nr_rrc_ue_decode_NR_BCCH_BCH_Message(NR_UE_RRC_INST_t *rrc,
...
@@ -551,14 +551,16 @@ static void nr_rrc_ue_decode_NR_BCCH_BCH_Message(NR_UE_RRC_INST_t *rrc,
}
}
int
get_sib
=
0
;
int
get_sib
=
0
;
if
(
get_softmodem_params
()
->
sa
&&
if
(
get_softmodem_params
()
->
sa
&&
bcch_message
->
message
.
present
==
NR_BCCH_BCH_MessageType_PR_mib
bcch_message
->
message
.
choice
.
mib
->
cellBarred
==
NR_MIB__cellBarred_notBarred
&&
&&
bcch_message
->
message
.
choice
.
mib
->
cellBarred
==
NR_MIB__cellBarred_notBarred
&&
rrc
->
nrRrcState
!=
RRC_STATE_DETACH_NR
)
{
rrc
->
nrRrcState
!=
RRC_STATE_DETACH_NR
)
{
NR_UE_RRC_SI_INFO
*
SI_info
=
&
rrc
->
perNB
[
gNB_index
].
SInfo
;
NR_UE_RRC_SI_INFO
*
SI_info
=
&
rrc
->
perNB
[
gNB_index
].
SInfo
;
// to schedule MAC to get SI if required
// to schedule MAC to get SI if required
get_sib
=
check_si_status
(
SI_info
);
get_sib
=
check_si_status
(
SI_info
);
}
}
if
(
bcch_message
->
message
.
present
==
NR_BCCH_BCH_MessageType_PR_mib
)
nr_rrc_mac_config_req_mib
(
rrc
->
ue_id
,
0
,
bcch_message
->
message
.
choice
.
mib
,
get_sib
);
nr_rrc_mac_config_req_mib
(
rrc
->
ue_id
,
0
,
bcch_message
->
message
.
choice
.
mib
,
get_sib
);
else
LOG_E
(
NR_RRC
,
"RRC-received BCCH message is not a MIB
\n
"
);
ASN_STRUCT_FREE
(
asn_DEF_NR_BCCH_BCH_Message
,
bcch_message
);
ASN_STRUCT_FREE
(
asn_DEF_NR_BCCH_BCH_Message
,
bcch_message
);
return
;
return
;
}
}
...
...
This diff is collapsed.
Click to expand it.
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