Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openairinterface5G
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
oai
openairinterface5G
Commits
69f68d13
Commit
69f68d13
authored
5 years ago
by
SAWADA Kentaro
Browse files
Options
Downloads
Patches
Plain Diff
ReFix Coverity Scan CID 340273 (Using uninitialized value slen when calling recvfrom.)
parent
2d3d0f7a
No related branches found
No related tags found
4 merge requests
!650
Release v1.1.0 Candidate
,
!607
Develop: integration 2019 week 23
,
!603
issue429 Coverity Scan Fix (Week22)
,
!588
Develop nr merge
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
openair2/UTIL/ASYNC_IF/socket_link.c
+1
-1
1 addition, 1 deletion
openair2/UTIL/ASYNC_IF/socket_link.c
with
1 addition
and
1 deletion
openair2/UTIL/ASYNC_IF/socket_link.c
+
1
−
1
View file @
69f68d13
...
@@ -404,7 +404,7 @@ static int socket_udp_receive(int socket_fd, void *buf, int size)
...
@@ -404,7 +404,7 @@ static int socket_udp_receive(int socket_fd, void *buf, int size)
LOG_D
(
PROTO_AGENT
,
"UDP RECEIVE
\n
"
);
LOG_D
(
PROTO_AGENT
,
"UDP RECEIVE
\n
"
);
struct
sockaddr_in
client
;
struct
sockaddr_in
client
;
socklen_t
slen
=
0
;
socklen_t
slen
=
sizeof
(
client
)
;
int
l
;
int
l
;
l
=
recvfrom
(
socket_fd
,
buf
,
size
,
0
,
(
struct
sockaddr
*
)
&
client
,
&
slen
);
l
=
recvfrom
(
socket_fd
,
buf
,
size
,
0
,
(
struct
sockaddr
*
)
&
client
,
&
slen
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment