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
db0fe338
Commit
db0fe338
authored
Feb 23, 2021
by
Zebediah Figura
Committed by
Alexandre Julliard
Feb 24, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Avoid passing an uninitialized timeout to NtNotifyChangeKey().
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
1922298f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
reg.c
dlls/ntdll/tests/reg.c
+1
-2
No files found.
dlls/ntdll/tests/reg.c
View file @
db0fe338
...
...
@@ -1850,7 +1850,7 @@ static void test_NtQueryKey(void)
static
void
test_notify
(
void
)
{
OBJECT_ATTRIBUTES
attr
;
LARGE_INTEGER
timeout
;
static
const
LARGE_INTEGER
timeout
;
IO_STATUS_BLOCK
iosb
;
UNICODE_STRING
str
;
HANDLE
key
,
key2
,
events
[
4
],
subkey
;
...
...
@@ -1952,7 +1952,6 @@ static void test_notify(void)
status
=
pNtNotifyChangeMultipleKeys
(
key
,
0
,
NULL
,
events
[
0
],
NULL
,
NULL
,
&
iosb
,
REG_NOTIFY_CHANGE_NAME
,
FALSE
,
NULL
,
0
,
TRUE
);
ok
(
status
==
STATUS_PENDING
,
"NtNotifyChangeKey returned %x
\n
"
,
status
);
timeout
.
QuadPart
=
0
;
status
=
pNtWaitForSingleObject
(
events
[
0
],
FALSE
,
&
timeout
);
ok
(
status
==
STATUS_TIMEOUT
,
"NtWaitForSingleObject returned %x
\n
"
,
status
);
...
...
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