mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
One more assert added, but unfortunately it isn't triggered currently...
svn path=/trunk/; revision=14161
This commit is contained in:
parent
f60f345d30
commit
a392c38668
1 changed files with 1 additions and 2 deletions
|
@ -833,8 +833,7 @@ RtlSetBits(PRTL_BITMAP BitMapHeader,
|
|||
if (StartingIndex >= Size || NumberToSet == 0)
|
||||
return;
|
||||
|
||||
if (StartingIndex + NumberToSet > Size)
|
||||
NumberToSet = Size - StartingIndex;
|
||||
ASSERT(StartingIndex + NumberToSet <= Size);
|
||||
|
||||
Ptr = (PULONG)BitMapHeader->Buffer + (StartingIndex / 32);
|
||||
while (NumberToSet)
|
||||
|
|
Loading…
Reference in a new issue