[FFmpeg-devel] [PATCH 2/3] tests/checkasm: fix stack smash in check_loopfilter
Rodger Combs
rodger.combs at gmail.com
Sun Sep 20 19:29:32 CEST 2015
---
tests/checkasm/vp9dsp.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/checkasm/vp9dsp.c b/tests/checkasm/vp9dsp.c
index 34014ed..968eae5 100644
--- a/tests/checkasm/vp9dsp.c
+++ b/tests/checkasm/vp9dsp.c
@@ -202,6 +202,9 @@ static void check_loopfilter()
midoff = (dir ? 16 * 8 : 8) * SIZEOF_PIXEL;
midoff_aligned = (dir ? 16 * 8 : 16) * SIZEOF_PIXEL;
+ buf0 = base0 + midoff_aligned;
+ buf1 = base1 + midoff_aligned;
+
// 16wd_16px loopfilter
if (check_func(dsp.loop_filter_16[dir],
"vp9_loop_filter_%s_16_16_%dbpp",
--
2.5.1
More information about the ffmpeg-devel
mailing list