Overview
| Artifact ID: | 06d738b7471e28420a8410ec8248bc3b5c9b14f2 |
|---|---|
| Ticket: | 584051ffffffffffffffffffffffffffffffffff
Tcl_Parse* ignore length argument |
| User & Date: | dgp on 2002-07-20 06:16:59 |
Changes
- assignee changed to: "jenglish"
- icomment:
Logged In: YES user_id=80530 Tcl_ParseBraces has similar trouble. Imagine the test command: testparsebraces "\{a\\\n\t\t foo bar}" 3 0 T_PB should examine the 3 characters { a \ and return the error "missing close-brace". Instead it gets caught up trying to do backslash substitution, and scans all the way to the close-brace. It would keep going through all memory until it found one. Fixes: 1) Document T_PB as requiring NUL-terminated string (YUK!); or 2) Have T_PB set the NUL it needs on entry, and restore on exit; or 3) Have T_PB call a different form of Tcl_UtfBackslash that can properly operate on counted strings. - login: "dgp"
- mimetype: "text/plain"
- username: "dgp"