Manifest of check-in
[f1ca567e92]
-
* 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:20:56.
B fdde6ad861cbd54361cd9dfcbe7757cfea20f1ac
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:20:56
F ChangeLog 6caa5d18c606b8b6f7c5722a98290a8f667fc6c3
F generic/tclIO.c b41d3732f5f614c94e0fe3a1d5af4f439d40193f
F generic/tclStringObj.c fc47e9d6f91c78d4aa19ad3d042c731a282903ab
P 0cdd44b8449f5f7e8224e787ec8d1f186ceac6a7
U andreas_kupries
Z c43c795450230ff94aef0ea1ed3c5b23