mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +00:00
logical 'and' applied to non-boolean constant
Reviewed by Thomas Faber and asked for commit, so blame him! CORE-7207 #resolve #comment Fixed! svn path=/trunk/; revision=59238
This commit is contained in:
@@ -647,7 +647,7 @@ MiCheckSecuredVad(IN PMMVAD Vad,
|
||||
(EndAddress >= ((PMMVAD_LONG)Vad)->u3.Secured.StartVpn))
|
||||
{
|
||||
/* Guard page? */
|
||||
if (ProtectionMask && MM_DECOMMIT)
|
||||
if (ProtectionMask & MM_DECOMMIT)
|
||||
{
|
||||
DPRINT1("Not allowed to change protection on guard page!\n");
|
||||
return STATUS_INVALID_PAGE_PROTECTION;
|
||||
|
||||
Reference in New Issue
Block a user