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
02b37007
Commit
02b37007
authored
Feb 12, 2012
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Mar 12, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32: Correct tests under WOW64.
parent
3d4a4dae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
security.c
dlls/advapi32/tests/security.c
+4
-2
No files found.
dlls/advapi32/tests/security.c
View file @
02b37007
...
@@ -1455,9 +1455,11 @@ static void test_token_attr(void)
...
@@ -1455,9 +1455,11 @@ static void test_token_attr(void)
Size
=
0
;
Size
=
0
;
ret
=
GetTokenInformation
(
Token
,
TokenGroups
,
Groups
,
Size2
,
&
Size
);
ret
=
GetTokenInformation
(
Token
,
TokenGroups
,
Groups
,
Size2
,
&
Size
);
ok
(
Size
>
1
,
"got %d
\n
"
,
Size
);
ok
(
Size
>
1
,
"got %d
\n
"
,
Size
);
ok
(
!
ret
&&
GetLastError
()
==
ERROR_INSUFFICIENT_BUFFER
,
ok
(
(
!
ret
&&
GetLastError
()
==
ERROR_INSUFFICIENT_BUFFER
)
||
broken
(
ret
)
/* wow64 */
,
"%d with error %d
\n
"
,
ret
,
GetLastError
());
"%d with error %d
\n
"
,
ret
,
GetLastError
());
ok
(
*
((
BYTE
*
)
Groups
)
==
0xcc
,
"buffer altered
\n
"
);
if
(
!
ret
)
ok
(
*
((
BYTE
*
)
Groups
)
==
0xcc
,
"buffer altered
\n
"
);
HeapFree
(
GetProcessHeap
(),
0
,
Groups
);
HeapFree
(
GetProcessHeap
(),
0
,
Groups
);
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
...
...
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