mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 12:24:21 +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
1 changed files with 1 additions and 1 deletions
|
@ -612,7 +612,7 @@ RtlpDeleteData(PVOID Ace,
|
|||
{
|
||||
if (AceSize < Offset)
|
||||
{
|
||||
RtlCopyMemory(Ace,
|
||||
RtlMoveMemory(Ace,
|
||||
(PVOID)((ULONG_PTR)Ace + AceSize),
|
||||
Offset - AceSize);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue