mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 12:23:30 +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:
@@ -612,7 +612,7 @@ RtlpDeleteData(PVOID Ace,
|
||||
{
|
||||
if (AceSize < Offset)
|
||||
{
|
||||
RtlCopyMemory(Ace,
|
||||
RtlMoveMemory(Ace,
|
||||
(PVOID)((ULONG_PTR)Ace + AceSize),
|
||||
Offset - AceSize);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user