From c97d4eec67c352c4d68fe357cf6c8162216a24a9 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Thu, 29 Nov 2018 10:57:46 +0100 Subject: [PATCH] Fixed uninitialized value. --- libfreerdp/codec/planar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfreerdp/codec/planar.c b/libfreerdp/codec/planar.c index 98f2495e2..c8bd99cd3 100644 --- a/libfreerdp/codec/planar.c +++ b/libfreerdp/codec/planar.c @@ -339,7 +339,7 @@ BOOL planar_decompress(BITMAP_PLANAR_CONTEXT* planar, UINT32 rawWidths[4]; UINT32 rawHeights[4]; BYTE FormatHeader; - const BYTE* planes[4]; + const BYTE* planes[4] = { 0 }; const UINT32 w = MIN(nSrcWidth, nDstWidth); const UINT32 h = MIN(nSrcHeight, nDstHeight); const primitives_t* prims = primitives_get();