From 06e61fe884486f75c99dbb99fcc97761b99dd3b9 Mon Sep 17 00:00:00 2001 From: Jacob Hageman Date: Mon, 16 May 2022 10:22:45 -0600 Subject: [PATCH 1/2] Fix #111, Resolve uninit var static analysis warnings --- elf2cfetbl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/elf2cfetbl.c b/elf2cfetbl.c index 8622251..de9454d 100644 --- a/elf2cfetbl.c +++ b/elf2cfetbl.c @@ -1883,6 +1883,9 @@ int32 GetSymbol(int32 SymbolIndex, union Elf_Sym *Symbol) int32_t SeekOffset = (int32_t)calculated_offset; char VerboseStr[60]; int32 i = 0; + + memset(VerboseStr, 0, sizeof(VerboseStr)); + if (SeekOffset != calculated_offset) { printf("Error: SeekOffset may not be %lu\n", (long unsigned int)calculated_offset); From aaa23a5b8485e5728ea6cbe221d774f55e8279c5 Mon Sep 17 00:00:00 2001 From: "Gerardo E. Cruz-Ortiz" <59618057+astrogeco@users.noreply.github.com> Date: Tue, 31 May 2022 12:59:11 -0400 Subject: [PATCH 2/2] IC: Caelum-rc4+dev10, elf2cfetbl v3.3.0-rc4+dev24 - Resolve uninit var static analysis warnings - See and --- README.md | 5 +++++ elf2cfetbl_version.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 71d7b33..42b17cd 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,11 @@ See README.txt for more information. ## Version History +### Development Build: v3.3.0-rc4+dev24 + +- Resolve uninit var static analysis warnings +- See and + ### Development Build: v3.3.0-rc4+dev18 - Update Copyright Headers diff --git a/elf2cfetbl_version.h b/elf2cfetbl_version.h index de96790..12033e5 100644 --- a/elf2cfetbl_version.h +++ b/elf2cfetbl_version.h @@ -28,7 +28,7 @@ /* * Development Build Macro Definitions */ -#define ELF2CFETBL_BUILD_NUMBER 18 /*!< @brief Number of commits since baseline */ +#define ELF2CFETBL_BUILD_NUMBER 24 /*!< @brief Number of commits since baseline */ #define ELF2CFETBL_BUILD_BASELINE \ "v3.3.0-rc4" /*!< @brief Development Build: git tag that is the base for the current */