fixed data size calculation in RtlSelfRelativeToAbsoluteSD2
Modified: trunk/reactos/lib/rtl/sd.c
_____
Modified: trunk/reactos/lib/rtl/sd.c
--- trunk/reactos/lib/rtl/sd.c 2005-11-09 00:44:37 UTC (rev 19078)
+++ trunk/reactos/lib/rtl/sd.c 2005-11-09 00:56:41 UTC (rev 19079)
@@ -815,7 +815,7 @@
ASSERT((ULONG_PTR)DataEnd >= (ULONG_PTR)DataStart);
- DataSize = (ULONG)((ULONG_PTR)DataEnd >= (ULONG_PTR)DataStart);
+ DataSize = (ULONG)((ULONG_PTR)DataEnd - (ULONG_PTR)DataStart);
if (*BufferSize < sizeof(SECURITY_DESCRIPTOR) + DataSize)
{
Show replies by date