Author: greatlrd
Date: Thu Jul 13 01:36:05 2006
New Revision: 23033
URL:
http://svn.reactos.org/svn/reactos?rev=23033&view=rev
Log:
patch from w3seek : Bug#: 1671 : RTL: Fix checking the SACL data area in the Win64
version of RtlSelfRelativeToAbsoluteSD2
Modified:
trunk/reactos/lib/rtl/sd.c
Modified: trunk/reactos/lib/rtl/sd.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/sd.c?rev=23033&…
==============================================================================
--- trunk/reactos/lib/rtl/sd.c (original)
+++ trunk/reactos/lib/rtl/sd.c Thu Jul 13 01:36:05 2006
@@ -837,7 +837,7 @@
{
if (((ULONG_PTR)pSacl < (ULONG_PTR)DataStart) || DataStart == NULL)
DataStart = pSacl;
- if (((ULONG_PTR)pSacl + DaclLength > (ULONG_PTR)DataEnd) || DataEnd == NULL)
+ if (((ULONG_PTR)pSacl + SaclLength > (ULONG_PTR)DataEnd) || DataEnd == NULL)
DataEnd = (PVOID)((ULONG_PTR)pSacl + SaclLength);
}