Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

fix(frame_allocator): do not assume that the passed memory map never contains the overlapped descriptors #228

Open
toku-sa-n opened this issue Sep 2, 2021 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@toku-sa-n
Copy link
Owner

The description of UEFI's GetMemoryMap does not mention that each descriptor is exclusive. It means the frame allocator may return a frame that was allocated by the previous alloc call. FrameAllocator::init must merge descriptors that have common areas or reject a memory map that has a descriptor that is overlapped with other descriptors.

@toku-sa-n toku-sa-n added bug Something isn't working help wanted Extra attention is needed labels Sep 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant