Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 92ef8facf8ba9fb9772b0b504d46f843104aec803917da24ebe42bbddab95914
Ticket: f5eadcbf9a6b1b4cff5aaf0da5aa5706430dfb7c
passing pointer to uninitialized memory leads Tcl_UniCharToUtf() to corrupt data
User & Date: pooryorick on 2023-04-25 20:26:02
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    In various locations in the source code uninitialized data is passed to
    Tcl_UniCharToUtf() via its *buf argument.  In addition to holding the result of
    Tcl_UniCharToUtf(), since [e2278643dc330026] in 2015 *buf also serves to
    maintain the state of an ongoing surrogate character transformation, and random
    data in the uninitialized storage can cause  Tcl_UniCharToUtf() to corrupt
    data.
    
  5. is_private changed to: "0"
  6. login: "pooryorick"
  7. priority changed to: "5 Medium"
  8. private_contact changed to: "2b2275eab1118e1fab0016cf1c5702893c6af86c"
  9. resolution changed to: "None"
  10. severity changed to: "Severe"
  11. status changed to: "Open"
  12. submitter changed to: "pooryorick"
  13. subsystem changed to: "- New Builtin Commands"
  14. title changed to:
    passing pointer to uninitialized memory leads Tcl_UniCharToUtf() to corrupt data
    
  15. type changed to: "Bug"