diff 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
line wrap: on
line diff
--- a/chansession.h	Sun Dec 04 05:27:57 2011 +0800
+++ b/chansession.h	Sun Dec 04 05:31:25 2011 +0800
@@ -69,6 +69,10 @@
 	char * agentfile;
 	char * agentdir;
 #endif
+
+#ifdef ENABLE_SVR_PUBKEY_OPTIONS
+	char *original_command;
+#endif
 };
 
 struct ChildPid {