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
44c395d6
Commit
44c395d6
authored
May 05, 2021
by
Zebediah Figura
Committed by
Alexandre Julliard
May 06, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ws2_32: Map EFAULT to STATUS_ACCESS_VIOLATION.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d6d4fa4b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
socket.c
dlls/ws2_32/socket.c
+3
-3
No files found.
dlls/ws2_32/socket.c
View file @
44c395d6
...
...
@@ -812,7 +812,7 @@ static NTSTATUS sock_get_ntstatus( int err )
case
EBUSY
:
return
STATUS_DEVICE_BUSY
;
case
EPERM
:
case
EACCES
:
return
STATUS_ACCESS_DENIED
;
case
EFAULT
:
return
STATUS_
NO_MEMORY
;
case
EFAULT
:
return
STATUS_
ACCESS_VIOLATION
;
case
EINVAL
:
return
STATUS_INVALID_PARAMETER
;
case
ENFILE
:
case
EMFILE
:
return
STATUS_TOO_MANY_OPENED_FILES
;
...
...
@@ -940,7 +940,7 @@ static NTSTATUS sock_error_to_ntstatus( DWORD err )
case
0
:
return
STATUS_SUCCESS
;
case
WSAEBADF
:
return
STATUS_INVALID_HANDLE
;
case
WSAEACCES
:
return
STATUS_ACCESS_DENIED
;
case
WSAEFAULT
:
return
STATUS_
NO_MEMORY
;
case
WSAEFAULT
:
return
STATUS_
ACCESS_VIOLATION
;
case
WSAEINVAL
:
return
STATUS_INVALID_PARAMETER
;
case
WSAEMFILE
:
return
STATUS_TOO_MANY_OPENED_FILES
;
case
WSAEWOULDBLOCK
:
return
STATUS_DEVICE_NOT_READY
;
...
...
@@ -992,7 +992,7 @@ static DWORD NtStatusToWSAError( DWORD status )
case
STATUS_SHARING_VIOLATION
:
return
WSAEADDRINUSE
;
case
STATUS_IO_TIMEOUT
:
case
STATUS_TIMEOUT
:
return
WSAETIMEDOUT
;
case
STATUS_
NO_MEMORY
:
return
WSAEFAULT
;
case
STATUS_
ACCESS_VIOLATION
:
return
WSAEFAULT
;
case
STATUS_ACCESS_DENIED
:
return
WSAEACCES
;
case
STATUS_TOO_MANY_OPENED_FILES
:
return
WSAEMFILE
;
case
STATUS_DEVICE_NOT_READY
:
return
WSAEWOULDBLOCK
;
...
...
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