Overview
| Artifact ID: | f6d386b8a5ccd8f6d1aa461dcaaabd1b7ca1d092 |
|---|---|
| Ticket: | 495207ffffffffffffffffffffffffffffffffff
[subst] error on [ = buffer overrun? |
| User & Date: | msofer on 2001-12-22 22:15:45 |
Changes
- assignee changed to: "dkf"
- icomment:
File Added - 15048: subst.patch Logged In: YES user_id=148712 The error seems to be in Tcl_SubstObj(): it *assumes* that bracket terms are properly terminated, and misbehaves when this assumption is not verified. I am enclosing a patch that resolves this issue. I am not sure if it behaves properly though, I have a question as to what should happen in case of a misformatted bracket term. Specifically: if we request subst {[set a 1} ;# missing "]" this patch causes a to be set to 1, and *then* returns an error. Should it instead return with an error *before* setting a? Donal, I'm assigning back to you for comment on this issue. - login: "msofer"
- mimetype: "text/plain"
- username: "msofer"