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
b039995f
Commit
b039995f
authored
Feb 12, 2014
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
addons: fsstorage: missing check for managed skins files
parent
e462e624
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
modules/misc/addons/fsstorage.c
modules/misc/addons/fsstorage.c
+6
-0
No files found.
modules/misc/addons/fsstorage.c
View file @
b039995f
...
...
@@ -64,6 +64,9 @@ static int OpenLister ( vlc_object_t * );
static
void
CloseLister
(
vlc_object_t
*
);
static
int
LoadCatalog
(
addons_finder_t
*
);
static
bool
FileBelongsToManagedAddon
(
addons_finder_t
*
p_finder
,
const
addon_type_t
e_type
,
const
char
*
psz_file
);
/*****************************************************************************
* Module descriptor
****************************************************************************/
...
...
@@ -208,6 +211,9 @@ static int ListSkins( addons_finder_t *p_finder )
if
(
!
psz_file
)
break
;
if
(
FileBelongsToManagedAddon
(
p_finder
,
ADDON_SKIN2
,
psz_file
)
)
continue
;
char
*
psz_uri
;
if
(
asprintf
(
&
psz_uri
,
"unzip://%s/%s!/theme.xml"
,
psz_dir
,
psz_file
)
>=
0
)
{
...
...
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