One more assert added, but unfortunately it isn't triggered currently...

svn path=/trunk/; revision=14161
This commit is contained in:
Aleksey Bragin 2005-03-17 16:09:12 +00:00
parent f60f345d30
commit a392c38668

View file

@ -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)