: <i>ensembles seem to be not compiled in safe interp</i> plus 5 other changes
by
.
D 2024-06-13T15:35:36.436
J assignee dkf
J icomment Fixed\sin\sbranch\s[./vdiff?from=a7efbe19650e6b1f&to=bug-1095bf7f756f9aed|bug-1095bf7f756f9aed]...\r\n\r\nUnfortunately\sI\sdidn't\sfound\sany\stest\scovering\swhy\sit\sshall\sbe\sdisable\sin\ssafe\sinterpreters\sand\s[0a095f089c8ce09a]\swas\sabout\sensembles\srewrite\s(so\scompilation\sfor\snon\scompiled\ssubcommands)\sonly...\r\nAll\stests\spassed...\r\n\r\nBut\sI'll\sassign\sit\sto\sdkf,\sanyway.\r\n\r\nFor\sinstance,\s[./info?name=03c2f076b6b9d3dc86f6e8cd3144f7f4a26d6b5c4e33faba0b673ad90938d6f9&ln=1152-1186|all\sthe\ssubcommands\sin\sinitMap]\sof\s"file"\sensemble\sare\smarked\sas\ssafe\s(zero\sat\send\sof\seach\sdeclaration\sin\s"unsafe")...\sI\sknow\sthat\sthe\swhole\sfile\scommand\sis\snot\savailable\sin\ssafe\sinterp,\sbut\sif\sit\sgets\sexposed\sto\ssafe\schild\sinterp,\sthey\sare\sthen\sindirectly\s"safe",\showever\safter\sthe\sfix\sit\sstill\sreturns\s"not\sallowed\sto\sinvoke\ssubcommand\s*\sof\sfile"\sas\sexpected\sand\sintended\sin\s[3445787],\sif\sI\stry\sthis\s(with\sand\swithout\sfix):\r\n<code><pre\sstyle="padding-left:20pt">\r\n%\sinterp\screate\s-safe\ssi\r\n%\sinterp\sexpose\ssi\sfile\r\n%\ssi\seval\s{file\sdirname\sa/b}\r\nnot\sallowed\sto\sinvoke\ssubcommand\sdirname\sof\sfile\r\n%\ssi\seval\s{tcl::file::dirname\sa/b}\r\nnot\sallowed\sto\sinvoke\ssubcommand\sdirname\sof\sfile\r\n<pre></code>\r\nSo\sit\sseems\sto\sbe\snot\saffected\sby\sthe\sfix\sat\sall,\sbut...\sI\sleave\sthe\sdecision\sfor\sdkf\s(or\sTCT).
J login sebres
J mimetype text/x-fossil-wiki
J resolution Fixed
J status Pending
K 1095bf7f756f9aed6bdef5b6f36e3f42f4dc372e
U sebres
Z 49e4208bfff6edd65adc50ba041f87c7