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
a7fd1279
Commit
a7fd1279
authored
Oct 12, 2019
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/vf_colorconstancy: fix overreads in gauss array
Fixes #8250
parent
e923e620
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vf_colorconstancy.c
libavfilter/vf_colorconstancy.c
+2
-2
No files found.
libavfilter/vf_colorconstancy.c
View file @
a7fd1279
...
...
@@ -280,7 +280,7 @@ static int slice_get_derivative(AVFilterContext* ctx, void* arg, int jobnr, int
dst
[
INDX2D
(
r
,
c
,
width
)]
=
0
;
for
(
g
=
0
;
g
<
filtersize
;
++
g
)
{
dst
[
INDX2D
(
r
,
c
,
width
)]
+=
GAUSS
(
src
,
r
,
c
+
GINDX
(
filtersize
,
g
),
in_linesize
,
height
,
width
,
gauss
[
GINDX
(
filtersize
,
g
)
]);
in_linesize
,
height
,
width
,
gauss
[
g
]);
}
}
}
...
...
@@ -295,7 +295,7 @@ static int slice_get_derivative(AVFilterContext* ctx, void* arg, int jobnr, int
dst
[
INDX2D
(
r
,
c
,
width
)]
=
0
;
for
(
g
=
0
;
g
<
filtersize
;
++
g
)
{
dst
[
INDX2D
(
r
,
c
,
width
)]
+=
GAUSS
(
src
,
r
+
GINDX
(
filtersize
,
g
),
c
,
width
,
height
,
width
,
gauss
[
GINDX
(
filtersize
,
g
)
]);
width
,
height
,
width
,
gauss
[
g
]);
}
}
}
...
...
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