mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-08 14:24:24 +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>