- Fix use-after-free if multiple command requests were sent. Move

the original_command into chansess struct since that makes more sense
This commit is contained in:
Matt Johnston
2011-12-04 05:31:25 +08:00
parent 52a466b8af
commit aec23e5f79
4 changed files with 19 additions and 11 deletions

1
auth.h
View File

@@ -133,7 +133,6 @@ struct PubKeyOptions {
int no_pty_flag;
/* "command=" option. */
unsigned char * forced_command;
unsigned char * original_command;
};
#endif