From a4ca6c4861a4d7fa75b7e0a98dca0ad6bfda3390 Mon Sep 17 00:00:00 2001 From: Takashi Yano Date: Sun, 9 Feb 2020 23:46:03 +0900 Subject: [PATCH] Cygwin: pty: Add missing member initialization for struct pipe_reply. - For pseudo console support, struct pipe_reply was changed in the past, however, the initialization was not fixed. --- winsup/cygwin/fhandler_tty.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc index 36b3341b1..1c23c93e3 100644 --- a/winsup/cygwin/fhandler_tty.cc +++ b/winsup/cygwin/fhandler_tty.cc @@ -2878,7 +2878,7 @@ fhandler_pty_master::pty_master_thread () while (!exit && (ConnectNamedPipe (master_ctl, NULL) || GetLastError () == ERROR_PIPE_CONNECTED)) { - pipe_reply repl = { NULL, NULL, NULL, 0 }; + pipe_reply repl = { NULL, NULL, NULL, NULL, 0 }; bool deimp = false; NTSTATUS allow = STATUS_ACCESS_DENIED; ACCESS_MASK access = EVENT_MODIFY_STATE; -- 2.43.5