aboutsummaryrefslogtreecommitdiff
path: root/src/platform/windows/win_debug.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2024-05-26 17:48:14 -0700
committerGarrett D'Amore <garrett@damore.org>2024-05-30 07:28:48 -0700
commitb8181f76f8acf431336c0f213eb932eaca1dcf90 (patch)
treebbbdd6dae84bde6be1061fff3930d4b96de6e220 /src/platform/windows/win_debug.c
parent35f285d350da6a9b474b051fc8cef77364fc546c (diff)
downloadnng-b8181f76f8acf431336c0f213eb932eaca1dcf90.tar.gz
nng-b8181f76f8acf431336c0f213eb932eaca1dcf90.tar.bz2
nng-b8181f76f8acf431336c0f213eb932eaca1dcf90.zip
windows: ipc listen use after free
Diffstat (limited to 'src/platform/windows/win_debug.c')
-rw-r--r--src/platform/windows/win_debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/platform/windows/win_debug.c b/src/platform/windows/win_debug.c
index 3b3c4ab7..b9e2fbe0 100644
--- a/src/platform/windows/win_debug.c
+++ b/src/platform/windows/win_debug.c
@@ -1,5 +1,5 @@
//
-// Copyright 2020 Staysail Systems, Inc. <info@staysail.tech>
+// Copyright 2024 Staysail Systems, Inc. <info@staysail.tech>
// Copyright 2018 Capitar IT Group BV <info@capitar.com>
//
// This software is supplied under the terms of the MIT License, a
@@ -111,7 +111,7 @@ static struct {
{ ERROR_DUP_NAME, NNG_EADDRINUSE },
{ ERROR_BROKEN_PIPE, NNG_ECLOSED },
{ ERROR_BAD_PIPE, NNG_ECLOSED },
- { ERROR_NO_DATA, NNG_ECLOSED },
+ { ERROR_NO_DATA, NNG_ECONNRESET },
{ ERROR_PIPE_NOT_CONNECTED, NNG_ECLOSED },
{ ERROR_OPERATION_ABORTED, NNG_ECLOSED },
{ ERROR_SHARING_VIOLATION, NNG_EBUSY },