Properly define the loop for privileges adjustement.
Spotted & fixed by Thomas.

svn path=/trunk/; revision=58955
This commit is contained in:
Pierre Schweitzer 2013-05-05 20:19:23 +00:00
parent 648e8504fc
commit a330845fa1

View file

@ -314,8 +314,9 @@ RtlAcquirePrivilege(IN PULONG Privilege,
else
{
*ReturnedState = State;
break;
}
} while (FALSE);
} while (TRUE);
DPRINT("RtlAcquirePrivilege succeed!\n");