Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
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
videolan
vlc
Commits
b5befe56
Commit
b5befe56
authored
May 31, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix use-after-free (CID 130)
Does not affect master
parent
8d5543f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
modules/misc/network/ipv6.c
modules/misc/network/ipv6.c
+6
-3
No files found.
modules/misc/network/ipv6.c
View file @
b5befe56
...
@@ -350,7 +350,6 @@ mldv1:
...
@@ -350,7 +350,6 @@ mldv1:
if
(
psz_mif
!=
NULL
)
if
(
psz_mif
!=
NULL
)
{
{
int
intf
=
if_nametoindex
(
psz_mif
);
int
intf
=
if_nametoindex
(
psz_mif
);
free
(
psz_mif
);
if
(
intf
!=
0
)
if
(
intf
!=
0
)
{
{
...
@@ -359,8 +358,9 @@ mldv1:
...
@@ -359,8 +358,9 @@ mldv1:
{
{
msg_Err
(
p_this
,
"%s as multicast interface: %s"
,
msg_Err
(
p_this
,
"%s as multicast interface: %s"
,
psz_mif
,
strerror
(
errno
)
);
psz_mif
,
strerror
(
errno
)
);
free
(
psz_mif
);
close
(
i_handle
);
close
(
i_handle
);
return
0
;
i_handle
=
-
1
;
}
}
}
}
else
else
...
@@ -368,8 +368,11 @@ mldv1:
...
@@ -368,8 +368,11 @@ mldv1:
msg_Err
(
p_this
,
"%s: bad IPv6 interface specification"
,
msg_Err
(
p_this
,
"%s: bad IPv6 interface specification"
,
psz_mif
);
psz_mif
);
close
(
i_handle
);
close
(
i_handle
);
return
0
;
i_handle
=
-
1
;
}
}
free
(
psz_mif
);
if
(
i_handle
==
-
1
)
return
0
;
}
}
}
}
}
}
...
...
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