From 87099f3ca64ddbb939fbad762aaac1e2a475f956 Mon Sep 17 00:00:00 2001 From: Thomas Bluemel Date: Wed, 27 Sep 2006 12:28:25 +0000 Subject: [PATCH] Move the memory in RtlpDeleteData instead of copying it because the source and destination may be overlapping. svn path=/trunk/; revision=24282 --- reactos/lib/rtl/acl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/lib/rtl/acl.c b/reactos/lib/rtl/acl.c index e3d68fd841f..0044bb20570 100644 --- a/reactos/lib/rtl/acl.c +++ b/reactos/lib/rtl/acl.c @@ -612,7 +612,7 @@ RtlpDeleteData(PVOID Ace, { if (AceSize < Offset) { - RtlCopyMemory(Ace, + RtlMoveMemory(Ace, (PVOID)((ULONG_PTR)Ace + AceSize), Offset - AceSize); }