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
2b0814ab
Commit
2b0814ab
authored
Aug 15, 2008
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix memleak with malformatted RSS input.
parent
912035aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
modules/video_filter/rss.c
modules/video_filter/rss.c
+10
-1
No files found.
modules/video_filter/rss.c
View file @
2b0814ab
...
...
@@ -744,7 +744,6 @@ static int FetchRSS( filter_t *p_filter)
case
XML_READER_STARTELEM
:
free
(
psz_eltname
);
psz_eltname
=
NULL
;
psz_eltname
=
xml_ReaderName
(
p_xml_reader
);
if
(
!
psz_eltname
)
{
...
...
@@ -779,10 +778,20 @@ static int FetchRSS( filter_t *p_filter)
char
*
psz_value
=
xml_ReaderValue
(
p_xml_reader
);
if
(
!
strcmp
(
psz_name
,
"rel"
)
)
{
if
(
psz_rel
)
{
msg_Dbg
(
p_filter
,
"
\"
rel
\"
attribute of link atom duplicated (last value: %s)"
,
psz_value
);
free
(
psz_rel
);
}
psz_rel
=
psz_value
;
}
else
if
(
!
strcmp
(
psz_name
,
"href"
)
)
{
if
(
psz_href
)
{
msg_Dbg
(
p_filter
,
"
\"
href
\"
attribute of link atom duplicated (last value: %s)"
,
psz_href
);
free
(
psz_href
);
}
psz_href
=
psz_value
;
}
else
...
...
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