Skip to content
Tcl Source Code Artifact [4a46ab8262]
Login

Artifact [4a46ab8262]

Artifact 4a46ab8262433e1866c23cc0366dac251d480501:

Manifest of check-in [4a46ab8262] - * generic/tclCmdMZ.c (Tcl_TraceObjCmd, TraceVarProc) (TraceCommandProc, TclTraceCommandObjCmd): corrected potential double-free of traces on variables by flagging in Trace*Proc that it will free the var in case the eval wants to delete the var trace as well. [Bug #536937] Also converted Tcl_UntraceVar -> Tcl_UntraceVar2 and Tcl_Eval to Tcl_EvalEx in Trace*Proc for slight efficiency improvement. by hobbs on 2002-03-29 22:47:22.
B 69bdb87c65511425f3f4335e58be1ddc5ddee5b1
C \t*\sgeneric/tclCmdMZ.c\s(Tcl_TraceObjCmd,\sTraceVarProc)\n\t(TraceCommandProc,\sTclTraceCommandObjCmd):\s\scorrected\n\tpotential\sdouble-free\sof\straces\son\svariables\sby\sflagging\sin\n\tTrace*Proc\sthat\sit\swill\sfree\sthe\svar\sin\scase\sthe\seval\swants\sto\n\tdelete\sthe\svar\strace\sas\swell.\s[Bug\s#536937]\n\tAlso\sconverted\sTcl_UntraceVar\s->\sTcl_UntraceVar2\sand\sTcl_Eval\sto\n\tTcl_EvalEx\sin\sTrace*Proc\sfor\sslight\sefficiency\simprovement.\n
D 2002-03-29T22:47:22
F ChangeLog a718eb61c7b1efc2401c7f7b60ffe4c38b10bdcd
F generic/tclCmdMZ.c e4a45b381b39fb7f66f0e4703761fd4b97983725
F tests/trace.test 1ee32c6e1c78b4b4aa13c0b525f3d16a866de517
F win/makefile.vc 23ef3ce5f9601cb7ce3aabfb1a564a9c4f98e139
P 358381af76afb843ace5794b01b0af1fe15dc49b
U hobbs
Z 9c9605a925d25b612a186c8bf895cc15