mirror of https://github.com/acidanthera/audk.git
When allocating memory for a non-coherent DMA device, the current core code removes the XP attribute, allowing code to execute from that region. This is a security vulnerability and unneeded. This change updates to mark the region as XP when allocating memory for the non-coherent DMA device. Signed-off-by: Oliver Smith-Denny <osde@linux.microsoft.com> |
||
---|---|---|
.. | ||
NonCoherentDmaLib.c | ||
NonCoherentDmaLib.inf |