From 8e41b8f5f71f4aa043c18d1d585951fb0d76c6a0 Mon Sep 17 00:00:00 2001 From: agampa263 Date: Tue, 19 Aug 2025 18:55:39 +0000 Subject: [PATCH] RDKEMW-6515: Scan and Fix coverity issues of Entservices and rdkservices-cpc Reason for change: Fix Coverity identified issues in ENTServices-Infra Repo Test Procedure: Regression testing on effected plugins Risks: Low Signed-off-by:AkshayKumar_Gampa AkshayKumar_Gampa@comcast.com --- apis/AppManager/IAppManager.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/apis/AppManager/IAppManager.h b/apis/AppManager/IAppManager.h index ea343ea1..b8f88573 100644 --- a/apis/AppManager/IAppManager.h +++ b/apis/AppManager/IAppManager.h @@ -27,17 +27,17 @@ namespace Exchange { #ifndef RUNTIME_CONFIG struct RuntimeConfig { - bool dial; - bool wanLanAccess; - bool thunder; - int32_t systemMemoryLimit; - int32_t gpuMemoryLimit; + bool dial = false; + bool wanLanAccess = false; + bool thunder = false; + int32_t systemMemoryLimit = 0; + int32_t gpuMemoryLimit = 0; std::string envVariables; - uint32_t userId; - uint32_t groupId; - uint32_t dataImageSize; + uint32_t userId = 0; + uint32_t groupId = 0; + uint32_t dataImageSize = 0; - bool resourceManagerClientEnabled; + bool resourceManagerClientEnabled =false; std::string dialId; std::string command; std::string appType; @@ -45,13 +45,13 @@ struct RuntimeConfig std::string runtimePath; std::string logFilePath; - uint32_t logFileMaxSize; + uint32_t logFileMaxSize = 0; std::string logLevels; //json array of strings - bool mapi; + bool mapi = false; std::string fkpsFiles; //json array of strings std::string fireboltVersion; - bool enableDebugger; + bool enableDebugger = false; string unpackedPath; }; #define RUNTIME_CONFIG