mirror of https://github.com/wolfSSL/wolfssh.git
wolfsshd: initialize the WIN32 shell exit status
- processState starts at 0 in SHELL_Subsystem()'s WIN32 half, where it is read by wolfSSH_SetExitStatus() on paths that leave the loop without GetExitCodeProcess() having written it.pull/1253/head
parent
893b2b12de
commit
5f06b27cd0
|
|
@ -2339,7 +2339,7 @@ static int SHELL_Subsystem(WOLFSSHD_CONNECTION* conn, WOLFSSH* ssh,
|
|||
int readPending = 0;
|
||||
int wantWrite = 0;
|
||||
int rc = 0;
|
||||
DWORD processState;
|
||||
DWORD processState = 0;
|
||||
DWORD ava;
|
||||
struct timeval t;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue