mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 07:20:43 +00:00
ntdll: Don't read beyond the end of the array on the last ace iteration in RtlValidAcl.
This commit is contained in:
parent
a94265e5a9
commit
f2f50f18dc
|
@ -1328,7 +1328,8 @@ BOOLEAN WINAPI RtlValidAcl(PACL pAcl)
|
|||
ret = FALSE;
|
||||
break;
|
||||
}
|
||||
ace = (PACE_HEADER)(((BYTE*)ace)+ace->AceSize);
|
||||
if (i != pAcl->AceCount)
|
||||
ace = (PACE_HEADER)(((BYTE*)ace)+ace->AceSize);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue