comparison chansession.h @ 654:818108bf7749

- Fix use-after-free if multiple command requests were sent. Move the original_command into chansess struct since that makes more sense
author Matt Johnston <matt@ucc.asn.au>
date Sun, 04 Dec 2011 05:31:25 +0800
parents 6f472dc54da7
children 0bb16232e7c4
comparison
equal deleted inserted replaced
653:5e8d84f3ee72 654:818108bf7749
67 #ifdef ENABLE_SVR_AGENTFWD 67 #ifdef ENABLE_SVR_AGENTFWD
68 struct Listener * agentlistener; 68 struct Listener * agentlistener;
69 char * agentfile; 69 char * agentfile;
70 char * agentdir; 70 char * agentdir;
71 #endif 71 #endif
72
73 #ifdef ENABLE_SVR_PUBKEY_OPTIONS
74 char *original_command;
75 #endif
72 }; 76 };
73 77
74 struct ChildPid { 78 struct ChildPid {
75 pid_t pid; 79 pid_t pid;
76 struct ChanSess * chansess; 80 struct ChanSess * chansess;