[wing] Deny remote clients from connecting to the pipe
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [wing] Deny remote clients from connecting to the pipe
- Date: Tue, 5 Dec 2017 14:37:11 +0000 (UTC)
commit cb95b8eb7d3c1d9a39386729a93a20dccaa0b94b
Author: Silvio Lazzeretti <silviola amazon com>
Date: Mon Dec 4 14:50:34 2017 +0100
Deny remote clients from connecting to the pipe
The PIPE_REJECT_REMOTE_CLIENTS flag has been added to
the pipe's creation to deny connection of remote clients
wing/wingnamedpipelistener.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/wing/wingnamedpipelistener.c b/wing/wingnamedpipelistener.c
index dfa6109..8150ddd 100644
--- a/wing/wingnamedpipelistener.c
+++ b/wing/wingnamedpipelistener.c
@@ -174,7 +174,8 @@ create_pipe_from_pipe_data (PipeData *pipe_data,
FILE_FLAG_OVERLAPPED,
PIPE_TYPE_BYTE |
PIPE_READMODE_BYTE |
- PIPE_WAIT,
+ PIPE_WAIT |
+ PIPE_REJECT_REMOTE_CLIENTS,
PIPE_UNLIMITED_INSTANCES,
DEFAULT_PIPE_BUF_SIZE,
DEFAULT_PIPE_BUF_SIZE,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]