public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Sam Kaynor via groups.io" <sam.kaynor=arm.com@groups.io>
To: devel@edk2.groups.io
Subject: [edk2-devel] [PATCH v1 0/1] [edk2-test] Coverity Uninitialized Variables Fixes
Date: Wed,  5 Mar 2025 09:34:03 -0600	[thread overview]
Message-ID: <20250305153404.19985-1-sam.kaynor@arm.com> (raw)

GitHub issue: https://github.com/tianocore/edk2-test/issues/233

Github fork: https://github.com/skaynor/edk2-test/tree/cov_un_var_fix

This patch is an implementation of all of the high impact Coverity issues found in the 
above GitHub issue that are under the category of "uninitialized variable". Many are 
simple inplace changes, initializing the variables at declaration.

This is the start of a series of patches aimed at addressing all high impact Coverity
issues outlined in the GitHub issue.

Sam Kaynor (1):
  uefi-sct/SctPkg: Coverity Uninitialized Variables Fixes

 uefi-sct/SctPkg/TestCase/UEFI/EFI/BootServices/ProtocolHandlerServices/BlackBoxTest/ProtocolHandlerBBTestFunction_2.c | 25 ++++++++++++--------
 uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/HIIConfigRouting/BlackBoxTest/HIIConfigRoutingBBTestConformance.c          |  2 +-
 uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/SimpleFileSystem/BlackBoxTest/SimpleFileSystemBBTestConformance.c          |  4 ++--
 uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/SimpleFileSystem/BlackBoxTest/SimpleFileSystemExBBTestConformance.c        |  2 +-
 uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/SimpleTextInputEx/BlackBoxTest/SimpleTextInputExBBTestConformance.c        |  8 +++----
 uefi-sct/SctPkg/TestInfrastructure/SCT/Drivers/TestProfile/TestProfile.c                                              |  2 +-
 uefi-sct/SctPkg/TestInfrastructure/SCT/Framework/ENTS/MonitorServices/IP4NetworkMonitor/IP4NetworkMonitor.c           |  4 ++--
 uefi-sct/SctPkg/TestInfrastructure/SCT/Framework/ENTS/MonitorServices/ManagedNetworkMonitor/ManagedNetworkMonitor.c   |  8 +++----
 8 files changed, 30 insertions(+), 25 deletions(-)

-- 
2.34.1


             reply	other threads:[~2025-03-05 15:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-05 15:34 Sam Kaynor via groups.io [this message]
2025-03-05 15:34 ` [edk2-devel] [PATCH v1 1/1] uefi-sct/SctPkg: Coverity Uninitialized Variables Fixes Sam Kaynor via groups.io

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250305153404.19985-1-sam.kaynor@arm.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox