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
42f481b5
Commit
42f481b5
authored
Jun 20, 2019
by
Dong Anyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Coverity Scan CID 60369 (Variable plain_msg going out of scope leaks the storage it points to.)
parent
d7f9a357
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
openair3/NAS/UE/EMM/SAP/emm_as.c
openair3/NAS/UE/EMM/SAP/emm_as.c
+1
-0
No files found.
openair3/NAS/UE/EMM/SAP/emm_as.c
View file @
42f481b5
...
@@ -437,6 +437,7 @@ static int _emm_as_data_ind(nas_user_t *user, const emm_as_data_t *msg, int *emm
...
@@ -437,6 +437,7 @@ static int _emm_as_data_ind(nas_user_t *user, const emm_as_data_t *msg, int *emm
if
(
bytes
<
0
)
{
if
(
bytes
<
0
)
{
/* Failed to decrypt the message */
/* Failed to decrypt the message */
*
emm_cause
=
EMM_CAUSE_PROTOCOL_ERROR
;
*
emm_cause
=
EMM_CAUSE_PROTOCOL_ERROR
;
free
(
plain_msg
);
LOG_FUNC_RETURN
(
bytes
);
LOG_FUNC_RETURN
(
bytes
);
}
else
if
(
header
.
protocol_discriminator
==
}
else
if
(
header
.
protocol_discriminator
==
EPS_MOBILITY_MANAGEMENT_MESSAGE
)
{
EPS_MOBILITY_MANAGEMENT_MESSAGE
)
{
...
...
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