diff options
author | Jeff Brasen <jbrasen@nvidia.com> | 2020-10-29 01:35:02 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-11-05 03:37:37 +0000 |
commit | 978b9d511f5b9cb7bc5b09749f86c39bec51525d (patch) | |
tree | a6db134459aa752ef76f6010277288fe577ba05d /MdeModulePkg/MdeModulePkg.uni | |
parent | 8d5708833509ece6ac63084dc07c8ac53c4d4c1a (diff) | |
download | edk2-978b9d511f5b9cb7bc5b09749f86c39bec51525d.tar.gz edk2-978b9d511f5b9cb7bc5b09749f86c39bec51525d.tar.bz2 edk2-978b9d511f5b9cb7bc5b09749f86c39bec51525d.zip |
MdeModulePkg/Gcd: Check memory allocation when initializing memory
CoreInitializeMemoryServices was not checking for any existing memory
allocation created in the HOB producer phase. If there are memory
allocations outside of the region covered by the HOB List then Gcd could
select that region for memory which can result in the memory allocation
to not be handled and memory overwrites.
Signed-off-by: Jeff Brasen <jbrasen@nvidia.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Regression-tested-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'MdeModulePkg/MdeModulePkg.uni')
0 files changed, 0 insertions, 0 deletions