mirror of
https://github.com/reactos/reactos.git
synced 2026-06-03 17:59:48 +08:00
[NTOS::Mm] Fix inverted check in MiWriteProtectSystemImage
This commit is contained in:
@@ -2389,7 +2389,7 @@ MiWriteProtectSystemImage(
|
||||
PMMPTE FirstPte, LastPte;
|
||||
|
||||
/* Check if the registry setting is on or not */
|
||||
if (MmEnforceWriteProtection)
|
||||
if (MmEnforceWriteProtection == FALSE)
|
||||
{
|
||||
/* Ignore section protection */
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user