Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4e50d3f79b533fbdf5b5a685d2bde2a2edfc7526
Ticket: 681877ffffffffffffffffffffffffffffffffff
tcl_platform(user) is spoofable
User & Date: davidw on 2005-04-30 22:21:53
Changes

  1. icomment:
    Logged In: YES 
    user_id=240
    
    Hi,
    
    The fact that it is going after USER and LOGNAME env
    variables is also problematic in environments where those
    are not set.  I just spent a couple of hours chasing down a
    bug in tcllib's mime smtp package which turns out to be
    related to the fact that under Apache, those variables are
    not set, and so tcl_platform(user) is empty.  I think that
    looking at getpwuid is far better than leaving this empty.
    
    Thanks,
    Dave
    
    
  2. login: "davidw"
  3. mimetype: "text/plain"
  4. username: "davidw"