Author: cwittich
Date: Wed Dec 23 12:36:17 2009
New Revision: 44731
URL:
http://svn.reactos.org/svn/reactos?rev=44731&view=rev
Log:
[netapi32]
sync netapi32 with wine 1.1.35
Modified:
trunk/reactos/dll/win32/netapi32/access.c
Modified: trunk/reactos/dll/win32/netapi32/access.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netapi32/access.…
==============================================================================
--- trunk/reactos/dll/win32/netapi32/access.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netapi32/access.c [iso-8859-1] Wed Dec 23 12:36:17 2009
@@ -494,7 +494,7 @@
PNET_DISPLAY_USER usr;
/* set up buffer */
- name_sz = lstrlenW(sAdminUserName);
+ name_sz = lstrlenW(sAdminUserName) + 1;
comment_sz = 1;
full_name_sz = 1;
@@ -533,7 +533,7 @@
PNET_DISPLAY_USER usr;
/* set up buffer */
- name_sz = lstrlenW(sGuestUserName);
+ name_sz = lstrlenW(sGuestUserName) + 1;
comment_sz = 1;
full_name_sz = 1;