tty_in will never be stderr, so it will always be closed, which means stdin
might get closed... Reported by Mark Daniel <Mark.Daniel@wasd.vsm.com.au>
This commit is contained in:
parent
c14b4d6b38
commit
caa7b2ad4f
1 changed files with 1 additions and 1 deletions
|
@ -550,7 +550,7 @@ static int echo_console(UI *ui)
|
|||
|
||||
static int close_console(UI *ui)
|
||||
{
|
||||
if (tty_in != stderr) fclose(tty_in);
|
||||
if (tty_in != stdin) fclose(tty_in);
|
||||
if (tty_out != stderr) fclose(tty_out);
|
||||
#ifdef OPENSSL_SYS_VMS
|
||||
status = sys$dassgn(channel);
|
||||
|
|
Loading…
Reference in a new issue