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

History Of Ticket 1717186fffffffff

Artifacts Associated With Ticket 1717186fffffffff

  1. Ticket change [96dc99bc1a] (rid 106398) by afredd on 2007-05-11 12:49:48:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      The listObj is not free'd in the error case where
      the given -command string is not a valid list:
      
      Consider:
      
      proc A {} {
       set lst [lrepeat 999 999]
       catch {
        lsort -command "foo \{" $lst
       }
      }
      while 1 { A } ;# leaks
      
      
      Just needs a
      
       Tcl_DecrRefCount(listObj);
      
      in the 
      
       if (Tcl_ListObjAppendElement(interp, newCommandPtr, newObjPtr) != TCL_OK)
      
      block.
      
      
      
    4. foundin initialized to: "obsolete: 8.5a6"
    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: "afredd"
    10. subsystem initialized to: "17. Commands I-L"
    11. title initialized to: "lsort can leak memory in error case"
    12. type initialized to: "Bug"
  2. Ticket change [fdcc548856] (rid 108477) by dkf on 2007-06-30 21:09:00:

    1. closedate changed to: "2007-06-30T14:09:00"
    2. closer changed to: "dkf"
    3. resolution changed to: "Fixed"
    4. status changed to: "Closed"