Overview
| Artifact ID: | e4991f1bd6e1fe8dc8c8d044f3ef1806008cba611d8b00cb06c7108e2edf76e4 |
|---|---|
| Ticket: | f5eadcbf9a6b1b4cff5aaf0da5aa5706430dfb7c
passing pointer to uninitialized memory leads Tcl_UniCharToUtf() to corrupt data |
| User & Date: | pooryorick on 2023-04-25 20:36:50 |
Changes
- comment changed to:
In various locations in the source code uninitialized data is passed to <code>Tcl_UniCharToUtf()</code> via its <code>*buf</code> argument. In addition to holding the result of <code>Tcl_UniCharToUtf()</code>, since [e2278643dc330026] in 2015 <code>*buf</code> also serves to maintain the state of an ongoing surrogate character transformation, and random data in the uninitialized storage can cause <code>Tcl_UniCharToUtf()</code> to corrupt data.
- icomment: "Fixed in [f5eadcbf9a6b1b4c]."
- login: "pooryorick"
- mimetype: "text/x-fossil-wiki"
- status changed to: "Pending"