Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
97c42d97
Commit
97c42d97
authored
Jul 17, 2009
by
Erwan Tulou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xspf: correct crash if psz_name is NULL
parent
0b61ec33
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
modules/misc/playlist/xspf.c
modules/misc/playlist/xspf.c
+4
-3
No files found.
modules/misc/playlist/xspf.c
View file @
97c42d97
...
...
@@ -259,10 +259,11 @@ static void xspf_extension_item( playlist_item_t *p_item, FILE *p_file,
if
(
p_item
->
i_children
>=
0
)
{
int
i
;
char
*
psz_temp
;
psz_temp
=
convert_xml_special_chars
(
p_item
->
p_input
->
psz_name
);
char
*
psz_temp
=
NULL
;
if
(
p_item
->
p_input
->
psz_name
)
psz_temp
=
convert_xml_special_chars
(
p_item
->
p_input
->
psz_name
);
fprintf
(
p_file
,
"
\t\t
<vlc:node title=
\"
%s
\"
>
\n
"
,
*
psz_temp
?
psz_temp
:
""
);
psz_temp
?
psz_temp
:
""
);
free
(
psz_temp
);
for
(
i
=
0
;
i
<
p_item
->
i_children
;
i
++
)
...
...
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