Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4350 Currently, stack HOB is not created for the stack memory. This causes stack memory to be treated as free memory and any memory allocation which happens at this address causes random memory corruption. Fix this by creating the stack HOB which marks the memory as BS data. Cc: Liming Gao <[email protected]> Cc: Andrei Warkentin <[email protected]> Cc: Ard Biesheuvel <[email protected]> Cc: Jiewen Yao <[email protected]> Cc: Jordan Justen <[email protected]> Cc: Gerd Hoffmann <[email protected]> Signed-off-by: Sunil V L <[email protected]> Reported-by: Andrei Warkentin <[email protected]> Tested-by: Andrei Warkentin <[email protected]> Reviewed-by: Andrei Warkentin <[email protected]>
- Loading branch information