Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
07050d7b
Commit
07050d7b
authored
Oct 13, 2019
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/vf_fieldorder: fix heap-buffer overflow
Fixes #8264
parent
99f8d321
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vf_fieldorder.c
libavfilter/vf_fieldorder.c
+2
-2
No files found.
libavfilter/vf_fieldorder.c
View file @
07050d7b
...
@@ -108,8 +108,8 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
...
@@ -108,8 +108,8 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
s
->
dst_tff
?
"up"
:
"down"
);
s
->
dst_tff
?
"up"
:
"down"
);
h
=
frame
->
height
;
h
=
frame
->
height
;
for
(
plane
=
0
;
plane
<
4
&&
frame
->
data
[
plane
]
&&
frame
->
linesize
[
plane
];
plane
++
)
{
for
(
plane
=
0
;
plane
<
4
&&
frame
->
data
[
plane
]
&&
frame
->
linesize
[
plane
];
plane
++
)
{
dst_line_step
=
out
->
linesize
[
plane
];
dst_line_step
=
out
->
linesize
[
plane
]
*
(
h
>
2
)
;
src_line_step
=
frame
->
linesize
[
plane
];
src_line_step
=
frame
->
linesize
[
plane
]
*
(
h
>
2
)
;
line_size
=
s
->
line_size
[
plane
];
line_size
=
s
->
line_size
[
plane
];
dst
=
out
->
data
[
plane
];
dst
=
out
->
data
[
plane
];
src
=
frame
->
data
[
plane
];
src
=
frame
->
data
[
plane
];
...
...
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