Skip to content
Tcl Source Code History Of Ticket 218679ffffffffff
Login

History Of Ticket 218679ffffffffff

Artifacts Associated With Ticket 218679ffffffffff

  1. Ticket change [ca46ac177d] (rid 122436) by nobody on 2000-10-26 01:04:03:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 1719 Bug
      Version: 8.0.4
      SubmitDate: '1999-04-05'
      LastModified: '1999-09-16'
      Severity: MED
      Status: Released
      Submitter: pat
      ChangedBy: hobbs
      OS: All
      OSVersion: NA
      Machine: NA
      FixedDate: '1999-09-16'
      FixedInVersion: 8.2.2
      ClosedDate: '2000-10-25'
      
      
      Name:  Steven Ryan
      email:  [email protected]
      Support:  None
      Severity:  3
      Synopsis:  Checked free and realloc abort on null pointers.
      
      ReproducibleScript:
      Tcl_DbCkfree(NULL,__FILE___,__LINE__) and
      Tcl_DbCkrealloc(NULL,1,__FILE__,__LINE__) abort with an illegal
      address (NULL).
      
      Comments:
      In Tcl_DbCkfree
      
          struct mem_header *memp = (struct mem_header *)
          (((unsigned long) ptr) - BODY_OFFSET);
      
      should be
      
          struct mem_header *memp;
      
          if (ptr == NULL) {
      return;
          }
      
          memp = (struct mem_header *)
          (((unsigned long) ptr) - BODY_OFFSET);
      
      
      In Tcl_DbCkrealloc
      
          struct mem_header *memp = (struct mem_header *)
          (((unsigned long) ptr) - BODY_OFFSET);
      
      should be
      
          struct mem_header *memp;
      
          if (ptr == NULL) {
      return Tcl_DbCkalloc(size, file, line);
          }
      
          memp = (struct mem_header *)
          (((unsigned long) ptr) - BODY_OFFSET);
      
      
      Added to 8.3b1. 
      -- 09/16/1999 hobbs
      
    4. foundin initialized to: "obsolete: 8.0.4"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "69. Other"
    10. title initialized to: "Checked free and realloc abort on null pointers"
    11. type initialized to: "Bug"
  2. Ticket change [48a23c3317] (rid 99927) by welch on 2000-10-26 08:27:10:

    1. closedate changed to: "2000-10-26T01:27:10"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [a5dcc0781d] (rid 110446) by dgp on 2001-04-16 23:08:12:

    1. closedate changed to: "2001-04-16T16:08:12"
    2. closer changed to: "dgp"
    3. subsystem changed to: "41. Memory Allocation"