From 5307e8adafcb1fda2579793730a00b6b978fd701 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sat, 26 Sep 2015 01:29:40 +0200 Subject: [PATCH] Fix a buffer overflow in ycbcr_conversion_effect_test. --- ycbcr_conversion_effect_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ycbcr_conversion_effect_test.cpp b/ycbcr_conversion_effect_test.cpp index d2b5d5c..aada42c 100644 --- a/ycbcr_conversion_effect_test.cpp +++ b/ycbcr_conversion_effect_test.cpp @@ -268,7 +268,7 @@ TEST(YCbCrConversionEffectTest, SplitLumaAndChroma) { 240, 110, /*undefined:*/ 110, /*undefined:*/ 255, }; - unsigned char out_y[width * height], out_cbcr[width * height * 4]; + unsigned char out_y[width * height * 4], out_cbcr[width * height * 4]; EffectChainTester tester(NULL, width, height); -- 2.39.2