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
ffc31b5c
Commit
ffc31b5c
authored
Jan 07, 2012
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a possible NULL dereference in the GME demuxer.
It was added by [
5e0e7978
].
parent
5e0e7978
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
modules/demux/gme.c
modules/demux/gme.c
+5
-1
No files found.
modules/demux/gme.c
View file @
ffc31b5c
...
@@ -105,10 +105,14 @@ static int Open (vlc_object_t *obj)
...
@@ -105,10 +105,14 @@ static int Open (vlc_object_t *obj)
return
VLC_ENOMEM
;
return
VLC_ENOMEM
;
}
}
if
(
data
)
if
(
data
)
{
gme_load_custom
(
sys
->
emu
,
ReaderBlock
,
data
->
i_buffer
,
data
);
gme_load_custom
(
sys
->
emu
,
ReaderBlock
,
data
->
i_buffer
,
data
);
block_Release
(
data
);
}
else
else
{
gme_load_custom
(
sys
->
emu
,
ReaderStream
,
size
,
demux
->
s
);
gme_load_custom
(
sys
->
emu
,
ReaderStream
,
size
,
demux
->
s
);
block_Release
(
data
);
}
gme_start_track
(
sys
->
emu
,
sys
->
track_id
=
0
);
gme_start_track
(
sys
->
emu
,
sys
->
track_id
=
0
);
es_format_t
fmt
;
es_format_t
fmt
;
...
...
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