From ab2de5d60c596c2cd2cb3a92eee6cf5bd62f44a4 Mon Sep 17 00:00:00 2001 From: akallabeth Date: Fri, 3 Feb 2023 12:53:15 +0100 Subject: [PATCH] [proxy,filter] fixed uninitialized value in bitmap-filter --- server/proxy/modules/bitmap-filter/bitmap-filter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/proxy/modules/bitmap-filter/bitmap-filter.cpp b/server/proxy/modules/bitmap-filter/bitmap-filter.cpp index d7586ab4e..b00ff8792 100644 --- a/server/proxy/modules/bitmap-filter/bitmap-filter.cpp +++ b/server/proxy/modules/bitmap-filter/bitmap-filter.cpp @@ -165,7 +165,7 @@ static size_t drdynvc_cblen_to_bytes(UINT8 cbLen) static UINT32 drdynvc_read_variable_uint(wStream* s, UINT8 cbLen) { - UINT32 val; + UINT32 val = 0; switch (cbLen) { @@ -259,7 +259,7 @@ static UINT8 drdynvc_value_to_cblen(UINT32 value) static BOOL drdynvc_write_variable_uint(wStream* s, UINT32 value, UINT8 cbLen) { - UINT32 val; + UINT32 val = 0; switch (cbLen) {