.
D 2009-09-09T05:18:32
J assignee hobbs
J cmimetype text/plain
J comment Logging\sthis\sas\sper\sAndreas\sKupries'\sdirection\son\sc.l.t.\nTried\son\sXP,\susing\sActive\sTcl\s8.6b1.1\n-------\nI've\srun\sinto\san\sissue\swith\sloading\sTcl\smodules\sinto\sinterpreters\ncreated\swith\s::safe::interpCreate.\sI'm\snot\ssure\swhether\sthis\sis\sby\ndesign\sor\sa\sbug.\sThe\sfollowing\spiece\sof\scode\sexecutes\swithout\serrors\n\nset\sip\s[::safe::interpCreate]\n$ip\seval\s{package\srequire\suri}\n\n(uri\sis\sa\spackage\sin\stcllib,\sas\sis\suri::urn)\n\nThe\sfollowing\serrors\sout\n$ip\seval\s{package\srequire\suri::urn}\n\nThe\suri\spackage\sis\sloaded\sfrom\sC:/Tcl/lib/teapot/package/tcl/teapot/\ntcl8/8.2/uri-1.2.1.tm\swhereas\nthe\suri::urn\spackage\sis\sloaded\sfrom\sC:/Tcl/lib/teapot/package/tcl/\nteapot/tcl8/8.4/uri/urn-1.0.2.tm\nThe\sissue\sis\sthat\sthe\sTcl\smodule\sloading\ssystem\smaps\sa\spackage\sname\ncontaining\s::\sto\ssubdirectories\sand\swhile\sthe\ssafe\sinterpreter's\s-\naccessPath\scontains\sthe\s.....tcl8/8.2\sdirectory,\sit\sdoes\snot\scontain\nthe\ssubdirectory\s(uri).\sConsequently,\sany\sTcl\smodules\swith\s::\sin\sthe\npackage\sname\sfail\sto\sload.\n\nThe\squestion\sis\s-\sis\sthis\sby\sdesign\sor\san\soversight\s?\sWhat\sis\sthe\ndanger\s(from\sa\ssecurity\sperspective)\sto\sallow\srecursion\sif\sthe\ndirectory\spath\smatches\sthe\spath\sin\sthe\spackage\sname?\n\n/Ashok
J foundin obsolete:\s8.6b1.1
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter apnadkarni
J subsystem 33.\sSafe\sBase
J title Cannot\sload\sTcl\smodules\swith\s::\sin\sSafe\sBase\sinterpreters
J type Bug
K 2854929fffffffffffffffffffffffffffffffff
U apnadkarni
Z 065f26c5efbccc144b26caebe8f744bd