Overview
| Artifact ID: | 125371f964c5fd05d2d044a447127b717aeb07a7aa88173731702c04c583bfac |
|---|---|
| Ticket: | f3cb2a32d60cf1386b08497b85434cf0177e7c6d
uninitialized value in format-2.18 |
| User & Date: | jan.nijtmans on 2023-03-06 20:55:51 |
Changes
- icomment:
Proposed fix [05e83f801a8a2f3c|here] In Tcl 8.7, if Tcl_UniCharToUtf() is fed a lower surrogate, it checks if the previous Tcl_UniCharToUtf() call produced an upper surrogate. This previous result is stored in dst[0] and dst[1], but in this situation those two bytes are uninitialized. Initializing dst[0] just before the Tcl_UniCharToUtf() should help.
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Pending"