Overview
| Artifact ID: | d54064962da267e37e1f559e7926efa15e272f92 |
|---|---|
| Ticket: | 2964715fffffffffffffffffffffffffffffffff
Problems with Safe Base exposed glob command |
| User & Date: | kjnash on 2010-03-06 13:29:05 |
Changes
- assignee changed to: "hobbs"
- cmimetype changed to: "text/plain"
- comment changed to:
Version core-8-5-branch v 1.16.4.6 Using ActiveTcl 8.5.8.1 The command ::safe::AliasGlob has several problems. - [glob *] reveals the contents of [pwd]. - The call from ::tcl::tm::UnknownHandler (to search ::tcl::tm module directories) fails. - Its test for calls from tclPkgUnknown is ineffective. - Its error messages are unhelpful. A patch to the core-8-5-branch v 1.16.4.6 is attached. # Description of alterations to ::safe::AliasGlob from core-8-5-branch v 1.16.4.6 # # (1) - add a comment header # (2) - change test for "pkgIndex.tcl" and move it so that it is effective # (3) - give a meaningful error message if pkgIndex.tcl is detected # (4) - give a meaningful error message if -directory is used twice # (5) - supply a value for dir in cmd # (6) - require option -directory # - This is a change to the (undocumented) behaviour of the exposed glob # command. # - The change is compatible with the required use cases for tm.tcl and # (if the pkgIndex.tcl test is removed in future) package.tcl. # - It is a good fit to the Safe Base idea that operations are permitted # only in certain directories. Closed Bug 2906841 is related.
- foundin changed to: "obsolete: 8.5.8"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "kjnash"
- subsystem changed to: "33. Safe Base"
- title changed to: "Problems with Safe Base exposed glob command"
- type changed to: "Bug"