Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Gautam Chitnis
web-ui-redesign
Commits
7d4385aa
Commit
7d4385aa
authored
Jan 11, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix denial of service (NULL dereference) in ASX parser
Closes #988
parent
7cc6aae1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/demux/playlist/asx.c
modules/demux/playlist/asx.c
+1
-1
No files found.
modules/demux/playlist/asx.c
View file @
7d4385aa
...
...
@@ -195,7 +195,7 @@ static int Demux( demux_t *p_demux )
psz_parse
=
strcasestr
(
psz_parse
,
">"
);
while
(
(
psz_parse
=
strcasestr
(
psz_parse
,
"<"
)
)
&&
psz_parse
&&
*
psz_parse
)
while
(
psz_parse
&&
(
psz_parse
=
strcasestr
(
psz_parse
,
"<"
)
)
)
{
if
(
!
strncasecmp
(
psz_parse
,
"<!--"
,
4
)
)
{
...
...
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