Fixed uninitialized value.
authorArmin Novak <armin.novak@thincast.com>
Thu, 29 Nov 2018 09:57:46 +0000 (10:57 +0100)
committerArmin Novak <armin.novak@thincast.com>
Thu, 29 Nov 2018 10:25:27 +0000 (11:25 +0100)
libfreerdp/codec/planar.c

index 98f2495..c8bd99c 100644 (file)
@@ -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();