mirror of
https://github.com/acidanthera/audk.git
synced 2025-10-19 22:33:45 +02:00
Check 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. Signed-off-by: Kenneth Lautner <kenlautner3@gmail.com>