Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 61ef16da8b6a85b7683e25d5f6ad85c8879556d1
Ticket: 2000565fffffffffffffffffffffffffffffffff
return -level not caught at safe interp boundary
User & Date: dgp on 2008-06-23 21:34:13
Changes

  1. closedate changed to: "2008-06-23T14:34:13"
  2. closer changed to: "dgp"
  3. icomment:
    Logged In: YES 
    user_id=80530
    Originator: NO
    
    
    Adding [return -level] did not add
    any new security concerns.  Tcl 8.4
    already had [return -code return]:
    
    % info patch
    8.4.19
    % interp create slave
    slave
    % catch {slave eval {return -code return}} m
    2
    
    If you permit a slave interp to evaluate
    an unknown, untrusted script, you must
    [catch] the evaluation, and be prepared to
    handle any return code it might throw back
    at you.  That's been true as long as there
    have been slave interps.
    
    
    
    
  4. login: "dgp"
  5. mimetype: "text/plain"
  6. resolution changed to: "Invalid"
  7. status changed to: "Closed"
  8. username: "dgp"