Skip to content
Tcl Source Code Artifact [329d2936ac]
Login

Artifact [329d2936ac]

Artifact 329d2936acc2d2749a8a77fb55bf4888a5822080:

Ticket change [329d2936ac] - Ticket [1693986fffffffff|1693986fff] <i>Buggy string handling in command traces?</i> status still Open with 5 other changes by msofer on 2007-04-16 21:59:29.
D 2007-04-16T21:59:29
J icomment Logged\sIn:\sYES\s\nuser_id=148712\nOriginator:\sYES\n\nSpecifically,\sassume\sa\scommand\swith\sexecution\straces\scalled\sfrom\sTEBC\sor\sTcl_Eval,\shence\swith\sa\snon\snul-terminated\s'command'\sstring.\n\nTEOvI\swill\scall\sTclCheckExecutionTraces,\spassing\salong\sthe\sstring\sas\sis.\sIn\sturn,\sthis\scalls\sTraceExecutionProc,\spassing\salong\sthe\sstring\sbut\s*not*\sthe\scount.\s\n\nFinally,\sTraceExecutionProc\suses\sit\sfor\sstrcmp\s(line\s1777),\sstrlen\sand\sstrcpy\s(lines\s1893-4).\n\nActually,\s'command'\swill\stypically\sbe\snul-terminated,\sjust\snot\sat\sthe\send\sof\sthe\scommand\s(at\scount),\sbut\srather\sat\sthe\send\sof\sthe\sscript.\sSo:\sno\sbuffer\soverflow,\sjust\sa\stoo-lengthy\sstring\swill\sbe\sused.\sReducing\sprio.\n
J login msofer
J mimetype text/plain
J priority 5\sMedium
J username msofer
K 1693986fffffffffffffffffffffffffffffffff
U msofer
Z ab6a3ca4a0803d63957b298e6ed00e88