Skip to content
Tcl Source Code View Ticket
Login

View Ticket

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.