Overview
| Artifact ID: | dc244857c826b91c50e06b1053ff445bf49bfbe8de9431a00933bac376939e56 |
|---|---|
| Ticket: | eb816947b39bcab21dfb538c10029ee4901d7341
Issue with binary string and split command |
| User & Date: | crn on 2019-09-13 13:03:44 |
Changes
- icomment:
Sorry, I am not able to reproduce it with a simple script. It happens in a complex program, the string we wanted to split comes from a read command while the file is written (not sure if this matter). While looking at C code through a debugger, we saw that Tcl_StringObj length was ok, "bytes" pointer was pointing on a previous string (longer than the current, we clearly older values after the current string) but no '\0' at end of current string. So the scenario implies a buffer reusage and reading a file with variable chunk size.
- login: "crn"
- mimetype: "text/plain"