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
f5636dea
Commit
f5636dea
authored
Apr 23, 2019
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Apr 26, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/pipe: Avoid a crash in a test.
Signed-off-by:
Detlef Riekenberg
<
wine.dev@web.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b3c5062f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
pipe.c
dlls/kernel32/tests/pipe.c
+6
-4
No files found.
dlls/kernel32/tests/pipe.c
View file @
f5636dea
...
...
@@ -3572,10 +3572,12 @@ static void test_namedpipe_session_id(void)
create_overlapped_pipe
(
PIPE_TYPE_BYTE
,
&
client
,
&
server
);
SetLastError
(
0xdeadbeef
);
ret
=
pGetNamedPipeClientSessionId
(
server
,
NULL
);
ok
(
!
ret
,
"success
\n
"
);
todo_wine
ok
(
GetLastError
()
==
ERROR_INSUFFICIENT_BUFFER
,
"got %u
\n
"
,
GetLastError
());
if
(
0
)
/* crashes on recent Windows */
{
SetLastError
(
0xdeadbeef
);
ret
=
pGetNamedPipeClientSessionId
(
server
,
NULL
);
ok
(
!
ret
,
"success
\n
"
);
}
id
=
0
;
ret
=
pGetNamedPipeClientSessionId
(
server
,
&
id
);
...
...
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