Overview
| Artifact ID: | b445b6bcac419c3722dc00a5cb45d9e6d85bc69c |
|---|---|
| Ticket: | 1036649fffffffffffffffffffffffffffffffff
Buffer overrun in [subst] |
| User & Date: | dkf on 2004-09-28 23:22:08 |
Changes
- assignee changed to: "dgp"
- cmimetype changed to: "text/plain"
- comment changed to:
This is not a problem in the HEAD. Repeatedly do this command. The error result is always strange and occasionally it crashes. (Seems random which.) subst {[set x 1;} GDB claims crash happened like this: Program received signal SIGSEGV, Segmentation fault. 0x0807e5ab in Tcl_SubstObj (interp=0x8103390, objPtr=0x810bd10, flags=7) at ../generic/tclCmdMZ.c:2578 2578 switch (*p) { The 'p' pointer seems to have overflowed well past the end of the objPtr->bytes parameter: (gdb) print p $1 = 0x812c000 <Address 0x812c000 out of bounds> (gdb) print objPtr->bytes $2 = 0x8127788 "[set x 1;" Looks like a buffer overrun to me, and [subst] is often exposed to external sources. => CRITICAL BUG - foundin changed to: "obsolete: 8.4.7"
- priority changed to: "9 Immediate"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dkf"
- subsystem changed to: "18. Commands M-Z"
- title changed to: "Buffer overrun in [subst]"
- type changed to: "Bug"