From c9dba5a628c98e24399d8b98416858fe60da61a3 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Mon, 24 May 2021 14:37:31 +0200 Subject: [PATCH] initializing query size --- linux/csp/CspComIF.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux/csp/CspComIF.cpp b/linux/csp/CspComIF.cpp index 1798b152..a8f13963 100644 --- a/linux/csp/CspComIF.cpp +++ b/linux/csp/CspComIF.cpp @@ -82,7 +82,7 @@ ReturnValue_t CspComIF::sendMessage(CookieIF *cookie, /* Extract csp port and bytes to query from command buffer */ uint8_t cspPort; - uint16_t querySize; + uint16_t querySize = 0; result = getPortAndQuerySize(&sendData, &sendLen, &cspPort, &querySize); if(result != HasReturnvaluesIF::RETURN_OK) { return result;