Skip to content
Tcl Source Code History Of Ticket 2688184fffffffff
Login

History Of Ticket 2688184fffffffff

Artifacts Associated With Ticket 2688184fffffffff

  1. Ticket change [38ee0504dd] (rid 112298) by mistachkin on 2009-03-16 04:08:25:

    1. assignee initialized to: "vincentdarley"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      The TclpObjNormalizePath function in tclWinFile.c has an object leak.  The original object is allocated here:
      
      Tcl_Obj *to = WinReadLinkDirectory(nativePath);
      
      The value of the "to" variable is later assigned to the "temp" variable:  
      
      if (temp != NULL) {
          Tcl_DecrRefCount(temp);
      }
      temp = to;
      
      The intermediate values of the "temp" variable are properly freed; however, the final value of the "temp" variable is not freed after the containing while loop exits.
      
      The simplest way to I have found to reproduce this leak is to use [file normalize] on a path that uses NT reparse points.
      
      This leak also appears to impact Tcl 8.4 and 8.5.
      
      
    4. foundin initialized to: "obsolete: 8.6b1.1"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "mistachkin"
    10. subsystem initialized to: "36. Pathname Management"
    11. title initialized to:
      Tcl_Obj leak in TclpObjNormalizePath (tclWinFile.c)
      
    12. type initialized to: "Bug"
  2. Ticket change [0d7f62385c] (rid 114372) by mistachkin on 2009-03-16 11:28:45:

    1. icomment:
      
      
      File Added - 317988: tclWinFile.zip
      
      Patch (against HEAD) with fix attached.
      
      File Added: tclWinFile.zip
      
      
    2. login: "mistachkin"
    3. mimetype: "text/plain"
    4. username: "mistachkin"
  3. Add attachment "tclWinFile.zip" [90ebd7dab4] (rid 120537) by mistachkin on 2009-03-16 11:28:45.

  4. Ticket change [b49ed4a387] (rid 125072) by dgp on 2009-03-16 22:25:44:

    1. assignee changed to: "dgp"
    2. priority changed to: "9 Immediate"
  5. Ticket change [d2bd62beca] (rid 113586) by dgp on 2009-03-19 00:08:42:

    1. icomment:
      
      Patch looks correct.  Committing to HEAD...
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  6. Ticket change [693e958ff4] (rid 103217) by dgp on 2009-03-19 00:19:10:

    1. closedate changed to: "2009-03-18T17:19:10"
    2. closer changed to: "dgp"
    3. icomment:
      
      
      allow_comments - 1
      
      
      backports complete.
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dgp"