summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python
diff options
context:
space:
mode:
authorMichael D Kinney <michael.d.kinney@intel.com>2025-05-19 12:34:46 -0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-06-13 15:47:59 +0000
commit62549edb9f52036dbba5a07a30859a6f590ba90b (patch)
treeb8ca5779829a99758b888cb7a7635fdeb23772b1 /BaseTools/Source/Python
parent18164e8c697557343092f305fc654de7b7261589 (diff)
downloadedk2-62549edb9f52036dbba5a07a30859a6f590ba90b.zip
edk2-62549edb9f52036dbba5a07a30859a6f590ba90b.tar.gz
edk2-62549edb9f52036dbba5a07a30859a6f590ba90b.tar.bz2
StandaloneMmPlg/StandaloneMmIpPei: Fix use without initialization
Update logic to prevent case where PlatformHobList may be used without being initialized. Check for expected return statuses and values from first call to CreateMmPlatformHob(). Remove use of CpuDeadLoop() and instead make consistent use of DEBUG_ERROR log messages and ASSERT()s to detect unexpected failures determining the size and allocating the platform HOB List for the Standalone MM environment. Fix potential memory leak when the expected allocation size does not match the actual allocation size. Fixes a build error detected with CLANG 20.1.0. Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'BaseTools/Source/Python')
0 files changed, 0 insertions, 0 deletions