[ros-diffs] [greatlrd] 23033: patch from w3seek : Bug#: 1671 : RTL: Fix checking the SACL data area in the Win64 version of RtlSelfRelativeToAbsoluteSD2

greatlrd at svn.reactos.org greatlrd at svn.reactos.org
Wed Jul 12 23:36:05 CEST 2006


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&r1=23032&r2=23033&view=diff
==============================================================================
--- 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);
     }
 




More information about the Ros-diffs mailing list