Skip to content
Tcl Source Code Artifact [6a15958149]
Login

Artifact [6a15958149]

Artifact 6a1595814953b6924cef440045da5d70d337832f:

Ticket change [6a15958149] - Ticket [1028587fffffffff|1028587fff] <i>[interp hide] leaves pre-existing imports exposed</i> status still Open with 5 other changes by msofer on 2004-09-16 21:36:30.
D 2004-09-16T21:36:30
J icomment Logged\sIn:\sYES\s\nuser_id=148712\n\nTo\sinsure\sthe\ssafety\sof\sthe\sinterp\syou\shave\sto\shide\sunsafe\ncommands\s*before*\srunning\sany\spotentially\sunsafe\sscript.\sIt\nis\suseless\sto\sclose\sthe\sbarn\sdoor\safter\sthe\shorses\sfled\s;)\n\n%\sproc\sfoo\s{}\s{puts\sfoo}\n%\snamespace\sexport\sfoo\s\n%\sinterp\shide\s{}\sfoo\n%\snamespace\seval\sns\snamespace\simport\s::foo\n%\sns::foo\s\ninvalid\scommand\sname\s"ns::foo"\n\nThe\sbug\s(is\sit\sone?)\sis\sthen\sthat\syou\scannot\scompletely\shide\na\scommand\safter\sit\swas\sexposed.\sConsider\sa\sdifferent\nexample,\spushing\sthe\sargument\sto\sthe\sextreme\n\n%\sproc\snewProc\s[info\sargs\soldProc]\s[info\sbody\soldProc]\n%\sinterp\shide\s{}\soldProc\n\n
J login msofer
J mimetype text/plain
J title [interp\shide]\sleaves\spre-existing\simports\sexposed
J username msofer
K 1028587fffffffffffffffffffffffffffffffff
U msofer
Z 9e34b8ff680be2637763d070147a01a4