From: Steinar H. Gunderson Date: Mon, 21 Jan 2013 21:48:42 +0000 (+0100) Subject: Fix another stack overflow in EffectChainTest. X-Git-Tag: 1.0~149^2~2 X-Git-Url: https://git.sesse.net/?p=movit;a=commitdiff_plain;h=07f3e1e29554ef3dc559ec6c0daf08bfca983122 Fix another stack overflow in EffectChainTest. Again, found with llvmpipe. --- diff --git a/effect_chain_test.cpp b/effect_chain_test.cpp index 09a6df1..efe520f 100644 --- a/effect_chain_test.cpp +++ b/effect_chain_test.cpp @@ -149,7 +149,7 @@ TEST(EffectChainTest, RewritingWorksAndTexturesAreAskedForsRGB) { 1.0f, 0.9771f, 0.8983f, 0.0f, }; - float out_data[2]; + float out_data[4]; EffectChainTester tester(NULL, 2, 2); tester.add_input(data, FORMAT_GRAYSCALE, COLORSPACE_sRGB, GAMMA_sRGB); RewritingEffect *effect = new RewritingEffect();