Commit a8a97091 authored by Aleksey Bragin's avatar Aleksey Bragin Committed by Alexandre Julliard

ntdll: Fix memory corruption in RtlSetBits.

parent e5ad41bc
......@@ -170,6 +170,7 @@ VOID WINAPI RtlSetBits(PRTL_BITMAP lpBits, ULONG ulStart, ULONG ulCount)
}
/* Set remaining bits, if any */
if (ulCount & 0x7)
*lpOut |= NTDLL_maskBits[ulCount & 0x7];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment