Move the memory in RtlpDeleteData instead of copying it because the source and destination may be overlapping.

svn path=/trunk/; revision=24282
This commit is contained in:
Thomas Bluemel 2006-09-27 12:28:25 +00:00
parent fa9c62c9a0
commit 87099f3ca6

View file

@ -612,7 +612,7 @@ RtlpDeleteData(PVOID Ace,
{
if (AceSize < Offset)
{
RtlCopyMemory(Ace,
RtlMoveMemory(Ace,
(PVOID)((ULONG_PTR)Ace + AceSize),
Offset - AceSize);
}