Overview
| Artifact ID: | f1afe66a750b6ae38b5dc5ef38f38e6b65c3605d138c26b8403700620f3bb764 |
|---|---|
| Ticket: | 951cd4cdfa7e1d4088a2bae732ecb39e190adcde
Do not add subdirectories to tcl::tm::list in safe interp |
| User & Date: | kjnash on 2020-07-15 12:04:45 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
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].
- foundin changed to: "core-8-6-branch"
- is_private changed to: "0"
- login: "kjnash"
- priority changed to: "5 Medium"
- private_contact changed to: "a774b1f5653dc3360e29ea7d635a64e94c9f1dab"
- resolution changed to: "None"
- severity changed to: "Important"
- status changed to: "Open"
- submitter changed to: "kjnash"
- subsystem changed to: "33. Safe Base"
- title changed to: "Use correct tcl::tm::list in Safe Base interpreter"
- type changed to: "Bug"