Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2024-08-29
09:02
Merge [3aa487993f656d0a]: Fix [d5b45c23f4]: file tildeexpand and file home not disabled in safe base... check-in: 3fa07ff8fb user: pooryorick tags: unchained, INCOMPATIBLE_LICENSE
2024-06-07
12:26 • Closed ticket [d5b45c23f4]: file tildeexpand and file home not disabled in safe ... artifact: a78c633602 user: jan.nijtmans
12:20
Fix [d5b45c23f4]: file tildeexpand and file home not disabled in safe base interpLeaf check. check-in: 3aa487993f user: jan.nijtmans tags: trunk, main
12:18
Fix [d5b45c23f4]: file tildeexpand and file home not disabled in safe base interp check-in: 0ff5667f15 user: jan.nijtmans tags: core-8-branch
10:32
Fix for [d5b45c23f4]: file tildeexpand and file home not disabled in safe base interp closed check-in: ff568b2774 user: jan.nijtmans tags: bug-d5b45c23f4
03:07 • New ticket [d5b45c23f4] file tildeexpand and file home not disabled in safe base... artifact: b00b351cc6 user: juliannoble2

file tildeexpand and file home not disabled in safe base interp

Closed / Fixedd5b45c23f4db4274c83a486cb082b560974fb60cCreated 2 years agoUpdated 2 years ago
Descriptionplain2024-06-07 03:07:43
An interpreter created with safe::interpCreate can still get the home directory using file home or file tildeexpand ~  

tcl_platform(user) is redacted - so presumably these commands should be marked unsafe.

It appears home and tildeexpand are missing from the unsafeEnsembleCommands array in tclBasic.c
Referenced by4
  • 3fa07ff8fbMerge [3aa487993f656d0a]: Fix [d5b45c23f4]: file tildeexpand and file home not disabled in safe base interpLeaf check. check-in2024-08-29 09:02:02
  • 3aa487993fFix [d5b45c23f4]: file tildeexpand and file home not disabled in safe base interpLeaf check. check-in2024-06-07 12:20:09
  • 0ff5667f15Fix [d5b45c23f4]: file tildeexpand and file home not disabled in safe base interp check-in2024-06-07 12:18:50
  • ff568b2774Fix for [d5b45c23f4]: file tildeexpand and file home not disabled in safe base interp check-in2024-06-07 10:32:05
jan.nijtmanswiki2024-06-07 12:26:10

Fixed [here], now available in core-8-branch and trunk

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