Skip to content
Tcl Source Code Artifact [1d91b69bab]
Login

Artifact [1d91b69bab]

Artifact 1d91b69babf76c034ffeeb561e560e50f4e82c3e:

Manifest of check-in [1d91b69bab] - * generic/tclIO.c (CreateScriptRecord): [Bug 2918110]: Initialize the EventScriptRecord (esPtr) fully before handing it to Tcl_CreateChannelHandler for registration. Otherwise a reflected channel calling 'chan postevent' (== Tcl_NotifyChannel) in its 'watchProc' will cause the function 'TclChannelEventScriptInvoker' to be run on an uninitialized structure. by andreas_kupries on 2010-01-18 22:19:11.
B d9c0ca8b37ef6d2c5c72c638ddea39a438ac61a7
C \n\t*\sgeneric/tclIO.c\s(CreateScriptRecord):\s[Bug\s2918110]:\sInitialize\n\tthe\sEventScriptRecord\s(esPtr)\sfully\sbefore\shanding\sit\sto\n\tTcl_CreateChannelHandler\sfor\sregistration.\sOtherwise\sa\sreflected\n\tchannel\scalling\s'chan\spostevent'\s(==\sTcl_NotifyChannel)\sin\sits\n\t'watchProc'\swill\scause\sthe\sfunction\s'TclChannelEventScriptInvoker'\n\tto\sbe\srun\son\san\suninitialized\sstructure.\n
D 2010-01-18T22:19:11
F ChangeLog 3beb9e9e6dd243750f7922519f4d60021d56456e
F generic/tclIO.c 20d02eaa38a9401cc07950c35f36c500a10c53ae
F generic/tclStringObj.c 33fda179ed9812604ed33593673cbfccd43c34ea
P f225aaa5266ce06735d94264719220ecd2b3f141
U andreas_kupries
Z 5725cd7b3e9a6dca52abae9b956c224e