Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2025-12-08
09:18 • Closed ticket [82d12c9ce3]: unsupported commands should not be available in safe... artifact: 7595a0aa2b user: jan.nijtmans
08:30
Fix [82d12c9ce324bc0f]: unsupported commands should not be available in safe interpreters check-in: 0323825637 user: jan.nijtmans tags: core-9-0-branch
2025-11-15
00:01 • Ticket [82d12c9ce3] unsupported commands should not be available in safe interpr... artifact: 5635c1b6cd user: jan.nijtmans
2025-11-14
23:53
Proposed fix for [82d12c9ce3]: unsupported commands should not be available in safe interpreters closed check-in: 0f3dd960a0 user: jan.nijtmans tags: bug-82d12c9ce3
23:49 • New ticket [82d12c9ce3] unsupported commands should not be available in safe int... artifact: 71efe880ee user: jan.nijtmans

unsupported commands should not be available in safe interpreters

Closed / Fixed82d12c9ce324bc0f8c5d4347ab90f2099be48a3cCreated 1 year agoUpdated 360 days ago
Descriptionwiki2025-11-14 23:49:03
Since [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.

Referenced by1
  • 0f3dd960a0Proposed fix for [82d12c9ce3]: unsupported commands should not be available in safe interpreters check-in2025-11-14 23:53:08
jan.nijtmanswiki2025-11-15 00:01:35

Proposed fix [here]

jan.nijtmanswiki2025-12-08 09:18:44

No-one responded, I take that as a silent agreement.

Fixed [here]

Log in (anonymous is fine) to add a comment.