Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
xenomai
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xenomai
xenomai
Commits
d18c8ad0
Commit
d18c8ad0
authored
Apr 25, 2018
by
Norbert Lange
Committed by
Philippe Gerum
Apr 26, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
smokey/net_common: fix one out-of-bounds access
Signed-off-by:
Norbert Lange
<
norbert.lange@andritz.com
>
parent
984d1343
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
testsuite/smokey/net_common/smokey_net_server.c
testsuite/smokey/net_common/smokey_net_server.c
+1
-1
No files found.
testsuite/smokey/net_common/smokey_net_server.c
View file @
d18c8ad0
...
...
@@ -89,7 +89,7 @@ rtnet_rtcfg_add_client(int fd, const char *hwaddr, const char *ipaddr)
cmd
.
args
.
add
.
ip_addr
=
ip
.
s_addr
;
cmd
.
args
.
add
.
timeout
=
3000
;
memcpy
(
cmd
.
args
.
add
.
mac_addr
,
mac
.
ether_addr_octet
,
sizeof
(
cmd
.
args
.
add
.
mac_addr
));
sizeof
(
mac
.
ether_addr_octet
));
check_unix
(
ioctl
(
fd
,
RTCFG_IOC_ADD
,
&
cmd
));
}
...
...
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