Skip to content

Commit

Permalink
Cygwin: pty: Add missing member initialization for struct pipe_reply.
Browse files Browse the repository at this point in the history
- For pseudo console support, struct pipe_reply was changed in the
  past, however, the initialization was not fixed.
  • Loading branch information
tyan0 authored and github-cygwin committed Feb 10, 2020
1 parent d5985cc commit a4ca6c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion winsup/cygwin/fhandler_tty.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a4ca6c4

Please sign in to comment.