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 New Issue