Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
babeld
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
babeld
Commits
00fc98ec
Commit
00fc98ec
authored
May 16, 2010
by
dermiste
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing null pointer dereferencing
parent
5353d9a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
kernel_socket.c
kernel_socket.c
+1
-1
No files found.
kernel_socket.c
View file @
00fc98ec
...
@@ -666,7 +666,7 @@ kernel_addresses(char *ifname, int ifindex, int ll,
...
@@ -666,7 +666,7 @@ kernel_addresses(char *ifname, int ifindex, int ll,
i
=
0
;
i
=
0
;
while
(
ifap
&&
i
<
maxroutes
)
{
while
(
ifap
&&
i
<
maxroutes
)
{
if
(
ifap
->
ifa_name
==
NULL
||
strcmp
(
ifap
->
ifa_name
,
ifname
)
!=
0
)
if
(
ifap
->
ifa_name
==
NULL
||
ifname
==
NULL
||
strcmp
(
ifap
->
ifa_name
,
ifname
)
!=
0
)
goto
next
;
goto
next
;
if
(
ifap
->
ifa_addr
->
sa_family
==
AF_INET6
)
{
if
(
ifap
->
ifa_addr
->
sa_family
==
AF_INET6
)
{
struct
sockaddr_in6
*
sin6
=
(
struct
sockaddr_in6
*
)
ifap
->
ifa_addr
;
struct
sockaddr_in6
*
sin6
=
(
struct
sockaddr_in6
*
)
ifap
->
ifa_addr
;
...
...
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