Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
0450235d
Commit
0450235d
authored
Dec 04, 2009
by
Rob Shearman
Committed by
Alexandre Julliard
Dec 07, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
netapi32: Fix off-by-one errors in ACCESS_QueryAdminDisplayInformation and…
netapi32: Fix off-by-one errors in ACCESS_QueryAdminDisplayInformation and ACCESS_QueryGuestDisplayInformation.
parent
2b74e774
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
access.c
dlls/netapi32/access.c
+2
-2
No files found.
dlls/netapi32/access.c
View file @
0450235d
...
...
@@ -494,7 +494,7 @@ static void ACCESS_QueryAdminDisplayInformation(PNET_DISPLAY_USER *buf, PDWORD p
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 @@ static void ACCESS_QueryGuestDisplayInformation(PNET_DISPLAY_USER *buf, PDWORD p
PNET_DISPLAY_USER
usr
;
/* set up buffer */
name_sz
=
lstrlenW
(
sGuestUserName
);
name_sz
=
lstrlenW
(
sGuestUserName
)
+
1
;
comment_sz
=
1
;
full_name_sz
=
1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment