mirror of
https://github.com/reactos/reactos.git
synced 2024-08-21 10:53:15 +00:00
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:
parent
fa9c62c9a0
commit
87099f3ca6
|
@ -612,7 +612,7 @@ RtlpDeleteData(PVOID Ace,
|
|||
{
|
||||
if (AceSize < Offset)
|
||||
{
|
||||
RtlCopyMemory(Ace,
|
||||
RtlMoveMemory(Ace,
|
||||
(PVOID)((ULONG_PTR)Ace + AceSize),
|
||||
Offset - AceSize);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue