mirror of
https://github.com/reactos/reactos.git
synced 2025-07-24 13:43:42 +00:00
[RTL]
Fix a bug in RtlFindNextForwardRunSet, that was returning the wrong bit position. Found by Amine Khaldi. svn path=/trunk/; revision=45167
This commit is contained in:
parent
6519a78fee
commit
801f2e9f36
1 changed files with 1 additions and 1 deletions
|
@ -600,7 +600,7 @@ RtlFindNextForwardRunSet(
|
|||
|
||||
/* Assume a clear run first, count it's length */
|
||||
Length = RtlpGetLengthOfRunClear(BitMapHeader, FromIndex, MAXULONG);
|
||||
*StartingRunIndex = FromIndex;
|
||||
*StartingRunIndex = FromIndex + Length;
|
||||
|
||||
/* Now return the length of the run */
|
||||
return RtlpGetLengthOfRunSet(BitMapHeader, FromIndex, MAXULONG);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue