mu_basecore icon indicating copy to clipboard operation
mu_basecore copied to clipboard

Fix buffer overflow when merging guard pages in MergeMemoryMap

Open cfernald opened this issue 3 years ago • 0 comments

Description

Checks that the next map entry is valid before dereferencing to merge the guard pages. If the final entry is at the end of a page with no valid page following it, then this can cause an access violation.

How This Was Tested

Tested on Q35 platform boot.

Integration Instructions

N/A

cfernald avatar Oct 13 '22 21:10 cfernald