4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-21 00:07:36 +08:00

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.
This commit is contained in:
Takashi Yano 2020-02-09 23:46:03 +09:00 committed by Ken Brown
parent 27551c898d
commit d8eec0843c

View File

@ -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;