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
8902488b
Commit
8902488b
authored
Mar 02, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XSPF: fix NULL dereference on empty <location>
parent
8bf4be30
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
modules/demux/playlist/xspf.c
modules/demux/playlist/xspf.c
+3
-0
No files found.
modules/demux/playlist/xspf.c
View file @
8902488b
...
@@ -538,6 +538,9 @@ static bool parse_track_node COMPLEX_INTERFACE
...
@@ -538,6 +538,9 @@ static bool parse_track_node COMPLEX_INTERFACE
/* special case: location */
/* special case: location */
if
(
!
strcmp
(
p_handler
->
name
,
"location"
)
)
if
(
!
strcmp
(
p_handler
->
name
,
"location"
)
)
{
{
if
(
psz_value
==
NULL
)
input_item_SetURI
(
p_new_input
,
"vlc://nop"
);
else
/* FIXME: This is broken. Scheme-relative (//...) locations
/* FIXME: This is broken. Scheme-relative (//...) locations
* and anchors (#...) are not resolved correctly. Also,
* and anchors (#...) are not resolved correctly. Also,
* host-relative (/...) and directory-relative locations
* host-relative (/...) and directory-relative locations
...
...
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