mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00: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