mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
- 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:
@@ -69,6 +69,10 @@ struct ChanSess {
|
||||
char * agentfile;
|
||||
char * agentdir;
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_SVR_PUBKEY_OPTIONS
|
||||
char *original_command;
|
||||
#endif
|
||||
};
|
||||
|
||||
struct ChildPid {
|
||||
|
||||
Reference in New Issue
Block a user