Skip to content
Tcl Source Code History Of Ticket 1299803
Login

History Of Ticket 1299803

Artifacts Associated With Ticket 1299803

  1. Ticket change [a9070053b7] (rid 99083) by dgp on 2005-09-23 04:46:39:

    1. assignee initialized to: "kennykb"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      End of the Tcl_SetBignumObj routine:
      
          /* Clear the value with mp_init; mp_clear
      overwrites the digit array. */
      
          mp_init(bignumValue);
      
      (Same issue in Tcl_NewBignumObj)
      
      The comment suggests that our intent
      is to free the memory of the bignumValue
      passed in, while not freeing the digit array
      that's been transferred to the intrep of
      the Tcl_Obj.  This intent would allow
      callers of Tcl_(Set|New)BignumObj
      to not have to worry about calling mp_clear.
      They can think of these functions as
      transferring ownership of their mp_int
      value to Tcl.
      
      Trouble is that mp_init() allocates
      a minimum-sized digit array of
      MP_PREC mp_digits.  This digit
      array is being leaked.
      
      There's a fix for this on the
      numerics-branch, and these
      routines aren't actually used
      on the HEAD yet.  A better
      numerics branch fix, followed by
      merge onto the HEAD is the
      way forward.
      
      
    4. foundin initialized to: "obsolete: 8.5a4"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "dgp"
    9. subsystem initialized to: "10. Objects"
    10. title initialized to: "Tcl_SetBignumObj memory leak"
    11. type initialized to: "Bug"
  2. Ticket change [abb724e2eb] (rid 101163) by dgp on 2005-09-23 23:24:40:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      improved fix now on numerics
      branch.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  3. Ticket change [4c4de1a81b] (rid 126864) by dgp on 2005-10-14 00:46:48:

    1. assignee changed to: "dgp"
    2. closedate changed to: "2005-10-13T17:46:48"
    3. closer changed to: "dgp"
    4. icomment:
      Logged In: YES 
      user_id=80530
      
      
      fixed by the TIP 237 merge.
      
      
    5. login: "dgp"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"
    9. username: "dgp"