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
a552587d
Commit
a552587d
authored
Feb 12, 2009
by
Paul Bryan Roberts
Committed by
Alexandre Julliard
Feb 12, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Avoid potential infinite loop.
parent
9a4e519a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
nt.c
dlls/ntdll/nt.c
+3
-1
No files found.
dlls/ntdll/nt.c
View file @
a552587d
...
...
@@ -293,13 +293,15 @@ NTSTATUS WINAPI NtQueryInformationToken(
char
stack_buffer
[
256
];
unsigned
int
server_buf_len
=
sizeof
(
stack_buffer
);
void
*
buffer
=
stack_buffer
;
BOOLEAN
need_more_memory
=
FALSE
;
BOOLEAN
need_more_memory
;
/* we cannot work out the size of the server buffer required for the
* input size, since there are two factors affecting how much can be
* stored in the buffer - number of groups and lengths of sids */
do
{
need_more_memory
=
FALSE
;
SERVER_START_REQ
(
get_token_groups
)
{
TOKEN_GROUPS
*
groups
=
tokeninfo
;
...
...
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