Overview
| Artifact ID: | 82b1ea2fa9405a52ff176cc9d01bc319e96c497b152954c64f6d11ad8d18fbcd |
|---|---|
| Ticket: | eb816947b39bcab21dfb538c10029ee4901d7341
Issue with binary string and split command |
| User & Date: | dgp on 2019-09-13 13:29:49 |
Changes
- icomment:
In that scenario, the right thing to do is to fix the bug, not to make the [split] command more tolerant of malformed inputs. In any valid Tcl_Obj struct where objPtr->bytes is not NULL, it must be that (objPtr->bytes[objPtr->length] == '\0') at any time when control over that struct changes hands, as in passing as an argument. Whatever code has failed to maintain that invariant is where the bug is. Any further tips you can offer on finding that bug are welcome. When you encounter it, are any extensions in use? - login: "dgp"
- mimetype: "text/plain"