Overview
| Artifact ID: | 07d1fb96175ba59103f6514ee34b57045387489b |
|---|---|
| Ticket: | 584051ffffffffffffffffffffffffffffffffff
Tcl_Parse* ignore length argument |
| User & Date: | dgp on 2002-07-20 05:43:57 |
Changes
- icomment:
Logged In: YES user_id=80530 Tcl_ParseQuotedString has a similar problem, although there's no special command in tcltest for testing it. Imagine there was and try: testparsequotedstring {"a_} 2 0 It will also escape into memory beyond length. These both boil down to an assumption by ParseTokens that *(parsePtr->end) is a NUL byte. Either all callers of ParseTokens need to verify that is true, or ParseTokens should set that up itself, or (yuk!) the terminating NUL requirement would have to be documented and depend on callers to do it. - login: "dgp"
- mimetype: "text/plain"
- title changed to: "Tcl_Parse* ignore length argument"
- username: "dgp"