|
2003-07-17
| ||
| 05:49 | • Closed ticket [759607ffff]: Init of Safe Slave Fails plus 7 other changes artifact: 1cbf5523f4 user: hobbs | |
|
2003-06-24
| ||
| 10:00 | • Add attachment safe.tcl.patch to ticket [759607ffff] artifact: 7d72d0c319 user: lukekalemyers | |
| 10:00 | • Ticket [759607ffff] Init of Safe Slave Fails status still Open with 4 other ... artifact: 91cdff2733 user: lukekalemyers | |
| 03:00 | • New ticket [759607ffff]. artifact: f6784a4cd8 user: lukekalemyers | |
Init of Safe Slave Fails
Closed / Fixed759607ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 23 years ago
Descriptionplain2003-06-24 03:00:57
Safe slave init fails when given a valid, but non-normalized, -accessPath: % ::safe::interpCreate 0 -accessPath \ /opt/ActiveTcl/lib/tcl8.4/ can't source init.tcl into slave 0 (permission denied) This behavior was exposed when testing tclplugin. On one otherwise functioning Tcl installation, [info library] returned a non-normalized path. Non-normalized paths may not be widespread, but they sure can cause a lot of grief a long way from the cause. I think -accessPath should not require normalized paths or should issue a more informative error message. A patch is attached. It changes: 1.) [::safe::FileInAccessPath] to normalize paths before comparing them. 2.) [::safe::InterpInit] to report the full pathname when failing to source init.tcl.
lukekalemyersplain2003-06-24 10:00:58
File Added - 53959: safe.tcl.patch
hobbsplain2003-07-17 05:49:44
Logged In: YES user_id=72656 Part 1 doesn't look right as it adds an extra [list] around the norm'ed path, which I removed. part 2 will not be applied because it potentially exposes local path info to the user, no? That's a security violation. Part 1 commited for 8.4.4 and 8.5a.
Log in (anonymous is fine) to add a comment.
Attachments:
- safe.tcl.patch [download] added by lukekalemyers on 2003-06-24 10:00:58. [details]