Fix a buffer overflow in ycbcr_conversion_effect_test.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 25 Sep 2015 23:29:40 +0000 (01:29 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 25 Sep 2015 23:29:40 +0000 (01:29 +0200)
ycbcr_conversion_effect_test.cpp

index d2b5d5c..aada42c 100644 (file)
@@ -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);