Skip to content
Tcl Source Code Artifact [dda8338b54]
Login

Artifact [dda8338b54]

Artifact dda8338b54ea6c3ead2e13c93feeb6442f5c0ca7:

Ticket change [dda8338b54] - Ticket [3309871fffffffff|3309871fff] <i>Valgrind finds: invalid read in TclMaxListLength()</i> status still Pending with 4 other changes by dgp on 2011-06-01 21:02:49.
D 2011-06-01T21:02:49
J icomment I\sthink\swe're\sall\sin\sviolent\sagreement\snow.\n\nI\slooked\sinto\smaking\sa\stest\scase.\s\sAll\sthat\sshould\nbe\sneeded\sto\sdemo\sthe\sformer\sbug\sis\sto\spass\nany\sstring\swith\strailing\swhitespace\sto\sTcl_SplitList().\n\nA\sfew\sdifficulties\swith\sthat.\s\sFirst,\seven\swhen\swe\stake\nthe\sbuggy\spath,\sunless\swe\shave\sa\swatchdog\slike\svalgrind\nkeeping\san\seye\son\sthings,\swe\swon't\snecessarily\sget\sa\sfailure\nreading\spast\sthe\sbuffer.\s\sSecond,\swe\sdon't\scurrently\shave\nany\stest\scommand\sdevoted\sto\stesting\sTcl_SplitList().\s\sThere\nare\ssome\sTcl\scommands\s(and\smore\sTk\scommands)\nthat\suse\sTcl_SplitList(),\sbut\snone\nthat\sI\swould\srecommend\scontinue\sto\sdo\sso\sfor\sany\sreason\nother\sthan\sinertia.\s\sAll\sthe\scalls\sI\sexamined\swould\sbe\sbetter\noff\sconverted\sto\susing\svarious\sTcl_ListObj*()\scalls\sinstead.\nDon't\swant\sto\sbuild\sa\stest\son\sa\stransient\simplementation\sdetail.\n\nSo\sthe\sclear\spath\sto\smaking\sa\stest\swould\sbe\sto\screate\sa\stesting\ncommand\sfor\sTcl_SplitList(),\sbut\sthat's\stoo\smuch\seffort\s(or\sI'm\ntoo\slazy)\sto\sbother\sfor\sthis.\s\sI'm\ssure\sI'll\sregret\sthat\slater.\n
J login dgp
J mimetype text/plain
J username dgp
K 3309871fffffffffffffffffffffffffffffffff
U dgp
Z afcc2725751cdf85c048d25babf472e9