Overview
| Artifact ID: | fdff598bc86a85a2d7d1d6649aefd9a351b98f7a50505c7056ad54da9927d58c |
|---|---|
| Ticket: | f5eadcbf9a6b1b4cff5aaf0da5aa5706430dfb7c
passing pointer to uninitialized memory leads Tcl_UniCharToUtf() to corrupt data |
| User & Date: | pooryorick on 2023-04-26 03:28:24 |
Changes
- icomment:
I started to enclose the calls to memset in a "TCL_UTF_MAX < 4" block as requested by Jan, but then decided against it. This is bad practice that makes the code more brittle for future developers. The cost of memset should be born until the code can be improved.
- login: "pooryorick"
- mimetype: "text/x-fossil-wiki"