mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 14:53:40 +00:00
[NTOS:SE]
- Fix pool corruption of the nastiest sort. Big thanks to Amine. Also thanks to MS for idiotic unsafe typedefs. svn path=/trunk/; revision=59325
This commit is contained in:
parent
583b6cfed0
commit
6b0f55c9e9
1 changed files with 1 additions and 1 deletions
|
@ -657,7 +657,7 @@ SepCreateToken(OUT PHANDLE TokenHandle,
|
||||||
*/
|
*/
|
||||||
|
|
||||||
uLength = sizeof(SID_AND_ATTRIBUTES) * AccessToken->UserAndGroupCount;
|
uLength = sizeof(SID_AND_ATTRIBUTES) * AccessToken->UserAndGroupCount;
|
||||||
uLength += RtlLengthSid(User);
|
uLength += RtlLengthSid(User->Sid);
|
||||||
for (i = 0; i < GroupCount; i++)
|
for (i = 0; i < GroupCount; i++)
|
||||||
uLength += RtlLengthSid(Groups[i].Sid);
|
uLength += RtlLengthSid(Groups[i].Sid);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue