mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
Dxe/Misc: Fixed CLANGPDB RELEASE.
This commit is contained in:
parent
a29bd72a05
commit
796bded098
@ -236,7 +236,7 @@ ProtectUefiImage (
|
||||
//
|
||||
// CPU ARCH present. Update memory attribute directly.
|
||||
//
|
||||
if (PcdGetBool (PcdEnableUserSpace) && (PdbPointer != NULL)) {
|
||||
if (PcdGetBool (PcdEnableUserSpace) && (!RETURN_ERROR (PdbStatus))) {
|
||||
if (AsciiStrStr (PdbPointer, "Fat") != NULL) {
|
||||
SetUefiImageProtectionAttributes (ImageRecord, TRUE);
|
||||
*IsUserImage = TRUE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user