From 47b76f04fc9c6f9b1b9a35b1f3b4efaf2154cb34 Mon Sep 17 00:00:00 2001 From: Oliver Kurth Date: Thu, 27 Apr 2023 13:29:23 -0700 Subject: [PATCH 1/2] initialize pointer variables to NULL in TDNFCliRepoSyncCommand and TDNFCliRepoQueryCommand --- tools/cli/lib/api.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/cli/lib/api.c b/tools/cli/lib/api.c index 270ea6a5..3da0eb78 100644 --- a/tools/cli/lib/api.c +++ b/tools/cli/lib/api.c @@ -641,7 +641,7 @@ TDNFCliRepoSyncCommand( ) { uint32_t dwError = 0; - PTDNF_REPOSYNC_ARGS pReposyncArgs; + PTDNF_REPOSYNC_ARGS pReposyncArgs = NULL; if(!pContext || !pContext->hTdnf || !pCmdArgs || !pContext->pFnRepoSync) { @@ -671,7 +671,7 @@ TDNFCliRepoQueryCommand( { uint32_t dwError = 0; uint32_t dwCount = 0; - PTDNF_REPOQUERY_ARGS pRepoqueryArgs; + PTDNF_REPOQUERY_ARGS pRepoqueryArgs = NULL; PTDNF_PKG_INFO pPkgInfo = NULL; PTDNF_PKG_INFO pPkgInfos = NULL; int nCount = 0, i, j, k; From ab498b3869d25b2ec96d1075ba4711416fdec7e7 Mon Sep 17 00:00:00 2001 From: Oliver Kurth Date: Thu, 27 Apr 2023 13:30:31 -0700 Subject: [PATCH 2/2] bump version to 3.3.9 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 951ff533..b1ca3bef 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,7 +8,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.0 FATAL_ERROR) -project(tdnf VERSION 3.3.8 LANGUAGES C) +project(tdnf VERSION 3.3.9 LANGUAGES C) set(VERSION ${PROJECT_VERSION}) set(PROJECT_YEAR 2023)