Do not add subdirectories to tcl::tm::list in safe interp
Closed / Fixed951cd4cdfa7e1d4088a2bae732ecb39e190adcdeCreated 6 years agoUpdated 6 years ago
Descriptionplain2020-07-15 12:04:45
The Safe Base ensures that a safe slave interpreter can use modules, by adding to the slave's access path the directories of the master's [tcl::tm::list], and all their descendants. It should also set the safe interpreter's [tcl::tm::list] to a tokenized form of the master's value. In fact it also adds tokens for the descendants. When a script requests module "b", this bug means in that in adverse circumstances the interpreter would receive module "a::b" instead. Fixed in branch safe-bugfixes-8-6 commit [081a8b9b50]. New test safe-9.20 checks for excess directories in [tcl::tm::list].
kjnash Ticket [951cd4cdfa]: 3 changes
[History diff]2020-07-16 01:15:01
kjnash Ticket [951cd4cdfa]: 2 changes
[History diff]2020-07-16 02:02:08
kjnash Ticket [951cd4cdfa]: 3 changes
[History diff]2020-07-16 02:02:38
kjnash Closed ticket [951cd4cdfa].
[History diff]2020-12-31 16:05:27
Log in (anonymous is fine) to add a comment.