diff options
author | pooryorick <com.digitalsmarties@pooryorick.com> | 2023-03-14 20:27:04 (GMT) |
---|---|---|
committer | pooryorick <com.digitalsmarties@pooryorick.com> | 2023-03-14 20:27:04 (GMT) |
commit | 3aef0c58f9614b4dd1b9eb4201238789cd9022fa (patch) | |
tree | 8cac08a1b5d3ef2fd5fd497cbe5b852f033455b2 /generic/tclIO.h | |
parent | 967e55306e7bb0a58a7cf2c5b905a2608f395875 (diff) | |
download | tcl-3aef0c58f9614b4dd1b9eb4201238789cd9022fa.zip tcl-3aef0c58f9614b4dd1b9eb4201238789cd9022fa.tar.gz tcl-3aef0c58f9614b4dd1b9eb4201238789cd9022fa.tar.bz2 |
Further fix for issue [ea69b0258a9833cb], crash when using a channel transformation on TCP client socket.
Diffstat (limited to 'generic/tclIO.h')
-rw-r--r-- | generic/tclIO.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/generic/tclIO.h b/generic/tclIO.h index eccc7a9..03bbce8 100644 --- a/generic/tclIO.h +++ b/generic/tclIO.h @@ -188,6 +188,9 @@ typedef struct ChannelState { * handlers ("fileevent") on this channel. */ int bufSize; /* What size buffers to allocate? */ Tcl_TimerToken timer; /* Handle to wakeup timer for this channel. */ + Channel *timerChanPtr; /* Needed in order to decrement the refCount of + the right channel when the timer is + deleted. */ struct CopyState *csPtrR; /* State of background copy for which channel * is input, or NULL. */ struct CopyState *csPtrW; /* State of background copy for which channel |