Skip to content
Tcl Source Code History Of Ticket 2385549
Login

History Of Ticket 2385549

Artifacts Associated With Ticket 2385549

  1. Ticket change [eb42b34371] (rid 103517) by dgp on 2008-12-04 00:29:04:

    1. assignee initialized to: "dgp"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      % file normalize dltest/..
      /home/dgp/cvs/tcl/unix
      
      % lindex [glob -types hidden dltest/..] 0
      dltest/..
      % file normalize [lindex [glob -types hidden dltest/..] 0]
      /home/dgp/cvs/tcl/unix/dltest/..
      
      The same string value gets treated
      differently due to different intrep
      history.
      
      Fundamentally this is a flaw in
      Tcl_FSGetNormalizedPath(), and is
      the underlying cause of Bug 2378350
      in the tclvfs project.
      
    4. foundin initialized to: "obsolete: 8.6a4"
    5. is_private initialized to: "0"
    6. priority initialized to: "9 Immediate"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "dgp"
    10. subsystem initialized to: "37. File System"
    11. title initialized to: "[file normalize] can't handle all "path" intreps"
    12. type initialized to: "Bug"
  2. Ticket change [6b09a56c95] (rid 128248) by dgp on 2008-12-04 07:30:27:

    1. icomment:
      
      This same bug is present in all
      active branches, 8.4, 8.5, 8.6,
      but is more serious in 8.5+
      because the troublesome intrep
      is more widely used.
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  3. Ticket change [d6085458e2] (rid 123736) by dgp on 2008-12-04 07:46:51:

    1. icomment:
      
      Here's the corrected demo to show the
      flaw on 8.4.19+ as well:
      
      % file normalize dltest/..
      /home/dgp/cvs/tcl8.4/unix
      % lindex [glob -type hidden dltest/*] 1
      dltest/..
      % file normalize [lindex [glob -type hidden dltest/*] 1]
      /home/dgp/cvs/tcl8.4/unix/dltest/..
      % info patch
      8.4.19
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  4. Ticket change [56af68a7f3] (rid 94362) by dgp on 2008-12-04 08:02:17:

    1. icomment:
      
      Patch 682500 introduced this bug
      when it was committed for Tcl 8.4.2
      on 2003-02-10.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  5. Ticket change [5a5af65f0e] (rid 118129) by dgp on 2008-12-04 08:04:55:

    1. icomment:
      
      With the archeology aside, the fact
      of intrep-dependent behavior is
      unquestionably a bug, but doesn't
      answer which is correct.
      
      I'll proceed on the assumption that
      supressing the /../ is the aim, but
      that may well run against the expectations
      of yet something else.  This whole
      section of code is an inconsistent mess.
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  6. Ticket change [0c0122884c] (rid 114099) by dgp on 2008-12-05 00:47:08:

    1. icomment:
      
      Fixes committed for 8.4.20, 8.5.6, and 8.6b1
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  7. Ticket change [ed373b3523] (rid 103838) by dgp on 2008-12-05 00:47:09:

    1. closedate changed to: "2008-12-04T17:47:09"
    2. closer changed to: "dgp"
    3. resolution changed to: "Fixed"
    4. status changed to: "Closed"