Skip to content
Tcl Source Code Artifact [c2de85bcf2]
Login

Artifact [c2de85bcf2]

Artifact c2de85bcf2272fbab7c56d2e0be591346912e415c680dc75d49f05332e7a25be:

Ticket change [c2de85bcf2] - New ticket [1d26e580cfcb7ac0|1d26e580cf] <i>safe interp can&#39;t source files with BOM</i>. by juliannoble2 on 2024-06-06 19:13:28.
D 2024-06-06T19:13:28.134
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-plain
J comment Leaving\saside\sthe\sdesirability\sof\shaving\sa\sBOM\son\sa\sutf-8\sfile\s-\sespecially\sa\spackage..\r\nStandard\sTcl\sinterps\shave\sno\sproblem\ssourcing\sfiles\swith\sa\sBOM.\r\n\r\nSafe\sinterps\screated\swith\ssafe::interpCreate\sdon't\sseem\sable\sto\shandle\sit.\r\n\r\nI\sthink\sit\sshould\sbe\sconsistent\sin\sthis\sregard\sif\spossible.\r\n\r\nI\sencountered\sthis\swith\sa\snon-public\spackage\sthat\sdeals\swith\sBOMs\sin\ssome\sof\sits\sdata\sfiles\s-\sand\sit\swas\sdogfooding\sI\sguess,\sso\sthe\stm\shas\sone\stoo.\sCan\sbe\sworked\saround\sfor\sthe\spackage\sitself\s-\sbut\smay\sbe\san\sissue\sfor\smaking\sthat\spackage\swork\sin\sa\ssafe\sinterp\swith\sits\sdatafiles\stoo\sdepending\son\swhether\ssource\sis\sused.\s(using\ssomething\slike\sthe\sisland\sconcept\son\stcl\swiki\sto\sallow\slimited\saccess\sto\sa\ssection\sof\sthe\sfilesystem)\r\n\r\ne.g\swith\sa\spackage\sfile\snamed\sbomtest-1.0.tm\sin\scurrent\sdir\scontaining\snothing\sbut\s"package\sprovide\sbomtest\s1.0"\sand\ssaved\swith\sa\sBOM.\r\n\r\n\s\s\s\s%\stcl::tm::add\s[pwd]\r\n\s\s\s\s%\spackage\srequire\sbomtest\r\n\s\s\s\s1.0\r\n\s\s\s\s%\ssafe::interpCreate\sx\r\n\s\s\s\sx\r\n\s\s\s\s%\sx\seval\s{package\srequire\sbomtest}\r\n\s\s\s\sinvalid\scommand\sname\s"\spackage"
J foundin 8.7,9.0
J is_private 0
J login juliannoble2
J priority 5\sMedium
J private_contact 957fdfcd8744611e3fe1f4896c7538b1d9bf47b2
J resolution None
J severity Minor
J status Open
J submitter juliannoble2
J subsystem 33.\sSafe\sBase
J title safe\sinterp\scan't\ssource\sfiles\swith\sBOM
J type Bug
K 1d26e580cfcb7ac096cfe9cd76c87f39415120c2
U juliannoble2
Z d4a307222b8b61f68747162edf02481d