Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3ff4f8b767d4fab641c122329191e06bbd53e856
Ticket: 218212ffffffffffffffffffffffffffffffffff
Wrong Arguments on Tcl_ListObjReplace crash system
User & Date: nobody on 2000-10-26 00:54:34
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 2528 Bug
    Version: 8.1
    SubmitDate: '1999-08-12'
    LastModified: '1999-12-03'
    Severity: MED
    Status: Closed
    Submitter: techsupp
    ChangedBy: hobbs
    OS: Linux
    Machine: Other
    FixedDate: '2000-10-25'
    ClosedDate: '1999-12-03'
    
    
    Name:
    Matthias Jung
    
    CVS:
    * SCCS: @(#) tclListObj.c 1.53 98/01/06 11:08:29
    
    ReproducibleScript:
    Create a Tcl_List with two elements. Now try
        
        Tcl_ListObjReplace((Tcl_Interp*)0, list 1, 2, ...)
        
        Tcl_ListObjReplace will try to free nonexisting list elements which
        crashes
        the system.
    
    ObservedBehavior:
    The System crash is undesireble.
    
    DesiredBehavior:
    Tcl_ListObjReplace should panic, at least,
        so the user knows something is wrong with the arguments.
    
    
    
    There is not enough info here to duplicate anything.
    As of 8.2, the ranges are checked against the size of the list. 
    -- 12/03/1999 hobbs
    
  4. foundin changed to: "obsolete: 8.1"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "10. Objects"
  10. title changed to: "Wrong Arguments on Tcl_ListObjReplace crash system"
  11. type changed to: "Bug"