projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d460662
)
fixed data size calculation in RtlSelfRelativeToAbsoluteSD2
author
Thomas Bluemel
<thomas@reactsoft.com>
Wed, 9 Nov 2005 00:56:41 +0000
(
00:56
+0000)
committer
Thomas Bluemel
<thomas@reactsoft.com>
Wed, 9 Nov 2005 00:56:41 +0000
(
00:56
+0000)
svn path=/trunk/; revision=19079
reactos/lib/rtl/sd.c
patch
|
blob
|
history
diff --git
a/reactos/lib/rtl/sd.c
b/reactos/lib/rtl/sd.c
index
a332b98
..
d88fded
100644
(file)
--- a/
reactos/lib/rtl/sd.c
+++ b/
reactos/lib/rtl/sd.c
@@
-815,7
+815,7
@@
RtlSelfRelativeToAbsoluteSD2(PISECURITY_DESCRIPTOR SelfRelativeSecurityDescripto
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)
{