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
ec6f37bf
Commit
ec6f37bf
authored
Sep 01, 2000
by
Stephane Lussier
Committed by
Alexandre Julliard
Sep 01, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
When checking the socket return by the server request, we should do a
"signed" check.
parent
e0849c8a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
socket.c
dlls/winsock/socket.c
+2
-2
No files found.
dlls/winsock/socket.c
View file @
ec6f37bf
...
...
@@ -850,7 +850,7 @@ SOCKET WINAPI WSOCK32_accept(SOCKET s, struct sockaddr *addr,
as
=
req
->
handle
;
}
SERVER_END_REQ
;
if
(
as
>=
0
)
if
(
((
int
)
as
)
>=
0
)
{
unsigned
omask
=
_get_sock_mask
(
s
);
int
fd
=
_get_sock_fd
(
as
);
...
...
@@ -2232,7 +2232,7 @@ SOCKET WINAPI WSOCK32_socket(INT af, INT type, INT protocol)
ret
=
req
->
handle
;
}
SERVER_END_REQ
;
if
(
ret
>=
0
)
if
(
((
int
)
ret
)
>=
0
)
{
TRACE
(
"
\t
created %04x
\n
"
,
ret
);
return
ret
;
...
...
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