Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
a65ae0ea
Commit
a65ae0ea
authored
Mar 08, 2015
by
Bruno Jesus
Committed by
Alexandre Julliard
Mar 08, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ws2_32/tests: Fix a NT4 crash due to unsupported SIO_ADDRESS_LIST_QUERY.
parent
2522e205
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
sock.c
dlls/ws2_32/tests/sock.c
+6
-0
No files found.
dlls/ws2_32/tests/sock.c
View file @
a65ae0ea
...
...
@@ -7960,6 +7960,12 @@ static void test_address_list_query(void)
bytes_returned
=
0
;
ret
=
WSAIoctl
(
s
,
SIO_ADDRESS_LIST_QUERY
,
NULL
,
0
,
NULL
,
0
,
&
bytes_returned
,
NULL
,
NULL
);
ok
(
ret
==
SOCKET_ERROR
,
"Got unexpected ret %d.
\n
"
,
ret
);
if
(
WSAGetLastError
()
==
WSAEINVAL
)
{
win_skip
(
"Windows <= NT4 is not supported in this test
\n
"
);
closesocket
(
s
);
return
;
}
ok
(
WSAGetLastError
()
==
WSAEFAULT
,
"Got unexpected error %d.
\n
"
,
WSAGetLastError
());
ok
(
bytes_returned
>=
FIELD_OFFSET
(
SOCKET_ADDRESS_LIST
,
Address
[
0
]),
"Got unexpected bytes_returned %u.
\n
"
,
bytes_returned
);
...
...
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