Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

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

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. 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].
    
  5. foundin changed to: "core-8-6-branch"
  6. is_private changed to: "0"
  7. login: "kjnash"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "a774b1f5653dc3360e29ea7d635a64e94c9f1dab"
  10. resolution changed to: "None"
  11. severity changed to: "Important"
  12. status changed to: "Open"
  13. submitter changed to: "kjnash"
  14. subsystem changed to: "33. Safe Base"
  15. title changed to: "Use correct tcl::tm::list in Safe Base interpreter"
  16. type changed to: "Bug"