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
lizhongxiao
OpenXG-RAN
Commits
cbc7822c
Commit
cbc7822c
authored
Jul 28, 2023
by
Stone WU
Committed by
Jerome Peraldi
Aug 02, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug #125147: fix segment fault issue for copy keys in rrc ASSecurityConfig
parent
03d0ff08
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
openair2/RRC/LTE/rrc_eNB.c
openair2/RRC/LTE/rrc_eNB.c
+12
-6
No files found.
openair2/RRC/LTE/rrc_eNB.c
View file @
cbc7822c
...
...
@@ -6965,12 +6965,18 @@ void rrc_eNB_as_security_configuration_req(
* Each RB entry will be freed invidually when the pdcp_remove_ue is invoked
* during the UE release process.
*/
kRRCint
=
CALLOC
(
1
,
32
);
kUPenc
=
CALLOC
(
1
,
16
);
kRRCenc
=
CALLOC
(
1
,
16
);
memcpy
(
kRRCint
,
ASSecConfReq
->
Integrity
.
kRRCint
,
32
);
memcpy
(
kUPenc
,
ASSecConfReq
->
Ciphering
.
kUPenc
,
16
);
memcpy
(
kRRCenc
,
ASSecConfReq
->
Ciphering
.
kRRCenc
,
16
);
if
(
ASSecConfReq
->
Integrity
.
kRRCint
)
{
kRRCint
=
CALLOC
(
1
,
32
);
memcpy
(
kRRCint
,
ASSecConfReq
->
Integrity
.
kRRCint
,
32
);
}
if
(
ASSecConfReq
->
Ciphering
.
kUPenc
)
{
kUPenc
=
CALLOC
(
1
,
16
);
memcpy
(
kUPenc
,
ASSecConfReq
->
Ciphering
.
kUPenc
,
16
);
}
if
(
ASSecConfReq
->
Ciphering
.
kRRCenc
)
{
kRRCenc
=
CALLOC
(
1
,
16
);
memcpy
(
kRRCenc
,
ASSecConfReq
->
Ciphering
.
kRRCenc
,
16
);
}
pdcp_config_set_security
(
ctxt_pP
,
...
...
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