Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 71efe880ee28f9e0227ff03ee2d951d2752a74c3543e3b1deb141f0609f8d5f5
Ticket: 82d12c9ce324bc0f8c5d4347ab90f2099be48a3c
unsupported commands should not be available in safe interpreters
User & Date: jan.nijtmans on 2025-11-14 23:49:03
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    Since [a165eede1d22d847|this] commit for Tcl 9.1, all "unsupported" commands are disabled in safe interpreters, except "assemble" and "corotype". All of those are potentially dangerous, so it makes sense to backport this change to 9.0.
    
    Considering that "unsupported" commands should be discouraged anyway (they could be removed in any version), even "assemble" and "corotype" are questionable (they dispose internal information to a safe interpreter), I propose to do the same with  _all_ "unsupported" commands (even future ones). If someone wants to make any of them available to a safe interpreter, making an "alias" is always possible.
    
  5. foundin changed to: "9.0"
  6. is_private changed to: "0"
  7. login: "jan.nijtmans"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "0c50e5320704d174412e57b873d8932de15303e0"
  10. resolution changed to: "None"
  11. severity changed to: "Important"
  12. status changed to: "Open"
  13. submitter changed to: "jan.nijtmans"
  14. subsystem changed to: "18. Commands M-Z"
  15. title changed to:
    unsupported commands should not be available in safe interpreters
    
  16. type changed to: "Bug"