diff options
author | Maximilian Brune <maximilian.brune@9elements.com> | 2024-05-16 15:50:41 +0200 |
---|---|---|
committer | Liming Gao <gaoliming@byosoft.com.cn> | 2025-05-16 09:04:53 +0800 |
commit | 5ea30a061cdfb6b0ed08369fd7c72ed1f43cfe2d (patch) | |
tree | 2ba203d7e394887a6a40ae032375b3e795ef6aea /BaseTools/Source/Python/tests | |
parent | b3a2f7ff24e156e8c4d694fffff01e95a048c536 (diff) | |
download | edk2-5ea30a061cdfb6b0ed08369fd7c72ed1f43cfe2d.zip edk2-5ea30a061cdfb6b0ed08369fd7c72ed1f43cfe2d.tar.gz edk2-5ea30a061cdfb6b0ed08369fd7c72ed1f43cfe2d.tar.bz2 |
MdeModulePkg/HiiDatabaseDxe: Fix BlockSize length
The BlockSize calculation was missing the 0 terminator which caused the
string block to shrink by 1 every time the string was processed.
Therefore causing memory corruptions, because the string took more
memory space as was allocated for the string block therefore corrupting
the memory pool at the end (which caused an ASSERT upon trying to free
it).
Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com>
Diffstat (limited to 'BaseTools/Source/Python/tests')
0 files changed, 0 insertions, 0 deletions