mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-24 22:24:37 +02:00
Core/Dxe/Misc: Fixed string comparison bug.
This commit is contained in:
parent
be8f6f968e
commit
d4e1092dc7
@ -236,7 +236,7 @@ ProtectUefiImage (
|
|||||||
//
|
//
|
||||||
// CPU ARCH present. Update memory attribute directly.
|
// CPU ARCH present. Update memory attribute directly.
|
||||||
//
|
//
|
||||||
if (PcdGetBool (PcdEnableUserSpace)) {
|
if (PcdGetBool (PcdEnableUserSpace) && (PdbPointer != NULL)) {
|
||||||
if (AsciiStrStr (PdbPointer, "Fat") != NULL) {
|
if (AsciiStrStr (PdbPointer, "Fat") != NULL) {
|
||||||
SetUefiImageProtectionAttributes (ImageRecord, TRUE);
|
SetUefiImageProtectionAttributes (ImageRecord, TRUE);
|
||||||
*IsUserImage = TRUE;
|
*IsUserImage = TRUE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user