projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13355b8
)
Set the MaximumLength of the returned string in IntGetFullWindowStationName.
author
Hartmut Birr
<osexpert@googlemail.com>
Sat, 24 Sep 2005 19:17:00 +0000
(19:17 +0000)
committer
Hartmut Birr
<osexpert@googlemail.com>
Sat, 24 Sep 2005 19:17:00 +0000
(19:17 +0000)
svn path=/trunk/; revision=18033
reactos/subsys/win32k/ntuser/winsta.c
patch
|
blob
|
history
diff --git
a/reactos/subsys/win32k/ntuser/winsta.c
b/reactos/subsys/win32k/ntuser/winsta.c
index
e8938d4
..
be08986
100644
(file)
--- a/
reactos/subsys/win32k/ntuser/winsta.c
+++ b/
reactos/subsys/win32k/ntuser/winsta.c
@@
-259,6
+259,7
@@
IntGetFullWindowStationName(
FullName->Length += WinStaName->Length + sizeof(WCHAR);
if (DesktopName != NULL)
FullName->Length += DesktopName->Length + sizeof(WCHAR);
+ FullName->MaximumLength = FullName->Length;
FullName->Buffer = ExAllocatePoolWithTag(PagedPool, FullName->Length, TAG_STRING);
if (FullName->Buffer == NULL)
{