mirror of https://github.com/acidanthera/audk.git
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…
Reference in New Issue