Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
d3b67d8f
Commit
d3b67d8f
authored
Nov 04, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XVideo: use after free
parent
7ed999d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
modules/video_output/xcb/xvideo.c
modules/video_output/xcb/xvideo.c
+4
-1
No files found.
modules/video_output/xcb/xvideo.c
View file @
d3b67d8f
...
...
@@ -406,9 +406,11 @@ static int Open (vlc_object_t *obj)
xfmt
=
FindFormat
(
vd
,
chroma
,
&
fmt
,
a
->
base_id
,
r
,
&
p_sys
->
att
);
}
free
(
r
);
if
(
xfmt
==
NULL
)
/* No acceptable image formats */
{
free
(
r
);
continue
;
}
p_sys
->
id
=
xfmt
->
id
;
p_sys
->
swap_uv
=
vlc_fourcc_AreUVPlanesSwapped
(
fmt
.
i_chroma
,
chroma
);
...
...
@@ -420,6 +422,7 @@ static int Open (vlc_object_t *obj)
fmt
.
i_gmask
=
xfmt
->
green_mask
;
fmt
.
i_bmask
=
xfmt
->
blue_mask
;
}
free
(
r
);
/* Grab a port */
for
(
unsigned
i
=
0
;
i
<
a
->
num_ports
;
i
++
)
...
...
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