Zebediah Figura : server: Map EFAULT to STATUS_ACCESS_VIOLATION.
Alexandre Julliard
julliard at winehq.org
Thu May 6 14:56:18 CDT 2021
Module: wine
Branch: master
Commit: 523032e6f1806ce5593103d37f467d28908797e6
URL: https://source.winehq.org/git/wine.git/?a=commit;h=523032e6f1806ce5593103d37f467d28908797e6
Author: Zebediah Figura <z.figura12 at gmail.com>
Date: Wed May 5 21:41:47 2021 -0500
server: Map EFAULT to STATUS_ACCESS_VIOLATION.
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
server/sock.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/sock.c b/server/sock.c
index cb2a1095496..08399644a07 100644
--- a/server/sock.c
+++ b/server/sock.c
@@ -1286,7 +1286,7 @@ static int 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;
More information about the wine-cvs
mailing list