Overview
| Artifact ID: | 90e4921a3f584f475cb0858d4c4e25551aec27a1 |
|---|---|
| Ticket: | 684744ffffffffffffffffffffffffffffffffff
embedded NULL foils [info complete] |
| User & Date: | dgp on 2003-02-11 17:07:53 |
Changes
- assignee changed to: "dgp"
- cmimetype changed to: "text/plain"
- comment changed to:
The Tcl parse was rewritten for release 8.1 to allow for embedded NULL characters to be treated just like any other character. The parser is written to tokenize it like any other. For example: % proc bytestring s {return [encoding convertfrom identity $s]} % proc [bytestring \x00] {} {puts NULL} % [bytestring \x00] NULL % eval [bytestring \x00] NULL However, an embedded NULL stops the parsing of [info complete]: % info complete [bytestring "\x00;if 1 \{"] 1 [info complete] never scans past the NULL to discover the missing close-brace incompleteness. NOTE: This example will not work in the current HEAD due to Tcl Bug 684699 - foundin changed to: "obsolete: 8.4.1"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "45. Parsing and Eval"
- title changed to: "embedded NULL foils [info complete]"
- type changed to: "Bug"