<i>Buggy string handling in command traces?</i> status still Open with 5 other changes
by
.
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