Overview
| Artifact ID: | 8aa9d207a5fd85f38e9489feadd12d70bf5040ea |
|---|---|
| Ticket: | 1968245fffffffffffffffffffffffffffffffff
Tcl_LogCommandInfo() fails with length == -1 |
| User & Date: | cdarroch on 2008-05-20 20:36:38 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
With Tcl 8.5.2, Tcl_LogCommandInfo() uses its length argument in the following test before checking whether length is negative, which a caller may use to indicate that all bytes of the command argument (up to the first null byte) should be used. At least, the documentation and code comments imply this is how the function should operate, and it used to accept -1 as a length value in 8.4. Attached is a simple patch which checks for this and uses strlen() to determine the length of the command string.
- foundin changed to: "obsolete: 8.5.2"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "cdarroch"
- subsystem changed to: "45. Parsing and Eval"
- title changed to: "Tcl_LogCommandInfo() fails with length == -1"
- type changed to: "Bug"