summaryrefslogtreecommitdiffhomepage
path: root/chansession.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2011-12-04 05:31:25 +0800
committerMatt Johnston <matt@ucc.asn.au>2011-12-04 05:31:25 +0800
commitaec23e5f791b78ed195358057f07f3050ab5bf94 (patch)
tree811346f9bbbcf950da16f1d6b992bf88f11aef6f /chansession.h
parent52a466b8afa32a1355dcbc90936eedcf5d740b1d (diff)
- Fix use-after-free if multiple command requests were sent. Move
the original_command into chansess struct since that makes more sense
Diffstat (limited to 'chansession.h')
-rw-r--r--chansession.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chansession.h b/chansession.h
index 924518b..ef252ea 100644
--- a/chansession.h
+++ b/chansession.h
@@ -69,6 +69,10 @@ struct ChanSess {
char * agentfile;
char * agentdir;
#endif
+
+#ifdef ENABLE_SVR_PUBKEY_OPTIONS
+ char *original_command;
+#endif
};
struct ChildPid {