Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3f2cb31e6c77ddc621b5c58989a93df3751e57e19119f71cb69b8c5dfc8c6417
Ticket: 07000bd237c021d5bf7bcc721a6ab3570ecc4f08
Bignum documentation needs to be clarified w.r.t mp_int handling
User & Date: apnadkarni on 2025-11-10 16:57:22
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-markdown"
  4. comment changed to:
    The documentation for `Tcl_{Set,Get,Take}BigNum` needs to clarified with respect to handling of `mp_int` memory. At least,
    
    - Tcl_SetBignumObj should clarify that the passed `mp_int` is cleared by Tcl and will not hold it original value
    
    - Tcl_{Get,Take}BignumFromObj - `mp_clear` needs to be called on the returned `mp_int` values to free memory.
    
  5. is_private changed to: "0"
  6. login: "apnadkarni"
  7. priority changed to: "5 Medium"
  8. private_contact changed to: "9546e9877f1a8899e25a89082561ee694e7fb402"
  9. resolution changed to: "None"
  10. severity changed to: "Minor"
  11. status changed to: "Open"
  12. submitter changed to: "apnadkarni"
  13. subsystem changed to: "56. LibTomMath"
  14. title changed to:
    Bignum documentation needs to be clarified w.r.t mp_int handling
    
  15. type changed to: "Bug"