Overview
| Artifact ID: | 12eebb3e882cd43db483afee4ffe4f5135286c0e |
|---|---|
| Ticket: | 3529949fffffffffffffffffffffffffffffffff
~ expansion leaks information in 'safe' interpreters |
| User & Date: | dkf on 2012-05-26 13:07:38 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- comment changed to:
As a follow-up to Bug 2913625, if you do this in a safe interpreter: file join [file dirname ~user] [file tail ~user] You get the name of the home directory of the user (or an error if they don't exist). Putting “&& !Tcl_IsSafe(interp)” in apparently relevant spots in tclFileName.c and tclPathObj.c doesn't work, as this is actually doing the tilde expansion in the context of the parent.
- foundin changed to: "obsolete: 8.5.11"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dkf"
- subsystem changed to: "33. Safe Base"
- title changed to:
~ expansion leaks information in 'safe' interpreters
- type changed to: "Bug"