Skip to content

Commit e0ae79f

Browse files
authored
add flag to pipe creation to reject remote clients (#782)
1 parent fdde232 commit e0ae79f

File tree

1 file changed

+1
-0
lines changed
  • contrib/win32/win32compat/ssh-agent

1 file changed

+1
-0
lines changed

contrib/win32/win32compat/ssh-agent/agent.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ agent_listen_loop()
121121
PIPE_ACCESS_DUPLEX | FILE_FLAG_OVERLAPPED, // read/write access
122122
PIPE_TYPE_BYTE | // message type pipe
123123
PIPE_READMODE_BYTE | // message-read mode
124+
PIPE_REJECT_REMOTE_CLIENTS | // no remote client connections allowed
124125
PIPE_WAIT, // blocking mode
125126
PIPE_UNLIMITED_INSTANCES, // max. instances
126127
BUFSIZE, // output buffer size

0 commit comments

Comments
 (0)