Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
458
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
f275e555
Commit
f275e555
authored
3 years ago
by
Rémi Denis-Courmont
Browse files
Options
Downloads
Patches
Plain Diff
lua: do not compute NULL+0
parent
e37b6421
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!679
Avoid NULL pointer arithmetic
Pipeline
#142567
passed with stage
in 18 minutes and 48 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/lua/vlc.c
+1
-1
1 addition, 1 deletion
modules/lua/vlc.c
with
1 addition
and
1 deletion
modules/lua/vlc.c
+
1
−
1
View file @
f275e555
...
...
@@ -250,7 +250,7 @@ int vlclua_scripts_batch_execute( vlc_object_t *p_this,
msg_Dbg
(
p_this
,
"Trying Lua scripts in %s"
,
*
ppsz_dir
);
int
i_files
=
vlc_scandir
(
*
ppsz_dir
,
&
ppsz_filelist
,
file_select
,
file_compare
);
if
(
i_files
<
0
)
if
(
i_files
<
=
0
)
continue
;
char
**
ppsz_file
=
ppsz_filelist
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment