mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[NTOS]
- Fix a code typo which led to a security issue when the XOR algorithm for the system cookie might actually yield zero. Now it's going to loop as long as the cookie is 0, attempting to generate a non-zero one. svn path=/trunk/; revision=48737
This commit is contained in:
parent
9b12a8c1d7
commit
0daaf9da75
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ PspUserThreadStartup(IN PKSTART_ROUTINE StartRoutine,
|
|||
}
|
||||
|
||||
/* Do we have a cookie set yet? */
|
||||
if (!SharedUserData->Cookie)
|
||||
while (!SharedUserData->Cookie)
|
||||
{
|
||||
LARGE_INTEGER SystemTime;
|
||||
ULONG NewCookie;
|
||||
|
|
Loading…
Reference in a new issue