Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
74d34b63
Commit
74d34b63
authored
Jun 04, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XSPF: fix realloc() integer overflow
(cherry picked from commit cd929923ff49175a501bb3e9553a683bc42ff61c)
parent
50d38b6d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
modules/demux/playlist/xspf.c
modules/demux/playlist/xspf.c
+2
-1
No files found.
modules/demux/playlist/xspf.c
View file @
74d34b63
...
@@ -504,7 +504,8 @@ static bool parse_track_node COMPLEX_INTERFACE
...
@@ -504,7 +504,8 @@ static bool parse_track_node COMPLEX_INTERFACE
}
}
free
(
psz_uri
);
free
(
psz_uri
);
if
(
p_sys
->
i_track_id
<
0
)
if
(
p_sys
->
i_track_id
<
0
||
p_sys
->
i_track_id
>=
(
SIZE_MAX
/
sizeof
(
p_new_input
))
)
{
{
input_item_node_AppendNode
(
p_input_node
,
p_new_node
);
input_item_node_AppendNode
(
p_input_node
,
p_new_node
);
vlc_gc_decref
(
p_new_input
);
vlc_gc_decref
(
p_new_input
);
...
...
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