|
2020-07-18
| ||
| 18:54 | • New ticket [9ae5c553ca] Remove unnecessary code in safe::AliasGlob - an old fix ... artifact: 7da4419f44 user: kjnash | |
|
2012-05-28
| ||
| 20:19 | • Closed ticket [3529949fff]: ~ expansion leaks information in 'safe' inte... artifact: 70eb0529d4 user: dkf | |
|
2012-05-26
| ||
| 13:07 | • New ticket [3529949fff]. artifact: 12eebb3e88 user: dkf | |
~ expansion leaks information in 'safe' interpreters
Closed / Fixed3529949fffffffffffffffffffffffffffffffffCreated 15 years agoUpdated 15 years ago
Descriptionplain2012-05-26 13:07:38
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.
dkfplain2012-05-28 20:19:05
allow_comments - 1 Fixed in 8.6 only.
Log in (anonymous is fine) to add a comment.