patina-v14.4.1
·
532 commits
to refs/heads/main
since this release
What's Changed
🐛 Bug Fixes
-
Ensure that free memory has XP attribute set to match initial free memory attributes from GCD init. @joschock (#1042)
Change Details
## Description
Free memory regions created at GCD init have XP attribute set. If these are then allocated and freed back, they would have the XP attribute clear. This would cause adjacent "free" regions to have different attributes. They would be coalesced in GetMemoryMap(), but allocations to the whole region behind that descriptor would fail because of the underlying attribute mismatch.
This PR adds the XP attribute on freed space to ensure that the attributes of free memory remain consistent.
- Impacts functionality?
- Impacts security?
- Breaking change?
- Includes tests?
- Includes documentation?
How This Was Tested
Tested on hardware platform and confirmed that free memory is correctly coalesced after this change.
Integration Instructions
N/A
Full Changelog: patina-v14.4.0...v14.4.1