comparison chansession.h @ 1733:d529a52b2f7c coverity coverity

merge coverity from main
author Matt Johnston <matt@ucc.asn.au>
date Fri, 26 Jun 2020 21:07:34 +0800
parents 8a7d26e86a56
children
comparison
equal deleted inserted replaced
1643:b59623a64678 1733:d529a52b2f7c
39 39
40 struct ChanSess { 40 struct ChanSess {
41 41
42 char * cmd; /* command to exec */ 42 char * cmd; /* command to exec */
43 pid_t pid; /* child process pid */ 43 pid_t pid; /* child process pid */
44 /* command that was sent by the client, if authorized_keys command= or
45 dropbear -c was used */
46 char *original_command;
44 47
45 /* pty details */ 48 /* pty details */
46 int master; /* the master terminal fd*/ 49 int master; /* the master terminal fd*/
47 int slave; 50 int slave;
48 char * tty; 51 char * tty;
70 #if DROPBEAR_SVR_AGENTFWD 73 #if DROPBEAR_SVR_AGENTFWD
71 struct Listener * agentlistener; 74 struct Listener * agentlistener;
72 char * agentfile; 75 char * agentfile;
73 char * agentdir; 76 char * agentdir;
74 #endif 77 #endif
75
76 #if DROPBEAR_SVR_PUBKEY_OPTIONS_BUILT
77 char *original_command;
78 #endif
79 }; 78 };
80 79
81 struct ChildPid { 80 struct ChildPid {
82 pid_t pid; 81 pid_t pid;
83 struct ChanSess * chansess; 82 struct ChanSess * chansess;