mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
- Make sure we don't use channel-specific data after it has been freed
with a ChanType->closehandler()
This commit is contained in:
@@ -69,6 +69,10 @@ struct Channel {
|
||||
int sent_close, recv_close;
|
||||
int recv_eof, sent_eof;
|
||||
|
||||
/* Set after running the ChanType-specific close hander
|
||||
* to ensure we don't run it twice (nor type->checkclose()). */
|
||||
int close_handler_done;
|
||||
|
||||
int initconn; /* used for TCP forwarding, whether the channel has been
|
||||
fully initialised */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user