Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c3c6cedc501b3ba03b1392e6f37b3ceec266ba2f9b4b3dd23dae02751c18063f
Ticket: 9899c273abcb1830ec7d217f577765b1db336f83
Tcl_InitStringRep design issues
User & Date: dgp on 2021-10-28 15:20:04
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    This can lead to an invalid ckrealloc call:
    
    Tcl_InitStringRep(objPtr, NULL, 0);
    Tcl_InitStringRep(objPtr, NULL, 0);
    
    Also, there's nothing in place to detect when a truncation
    call does not actually truncate, and to deal with possible
    memory allocation failure in that circumstance.
    
  5. foundin changed to: "8.7"
  6. is_private changed to: "0"
  7. login: "dgp"
  8. priority changed to: "5 Medium"
  9. resolution changed to: "None"
  10. severity changed to: "Minor"
  11. status changed to: "Open"
  12. submitter changed to: "dgp"
  13. subsystem changed to: "10. Objects"
  14. title changed to: "Tcl_InitStringRep design issues"
  15. type changed to: "Bug"