Overview
| Artifact ID: | 29ee7f13425fa614c4350dc934f28d181821dde8 |
|---|---|
| Ticket: | 427196ffffffffffffffffffffffffffffffffff
fconfigure -buffer in midread =>segfault |
| User & Date: | andreas_kupries on 2001-07-18 00:10:07 |
Changes
- assignee changed to: "andreas_kupries"
- icomment:
Logged In: YES user_id=75003 The reason for the crash is a combination of two things: First, the buffer allocated when -buffersize 10 was set is reused in the second read. And second, the IO system blithely uses the set buffersize as the number of bytes to read and not the actual size of the buffer in use. This causes the overwrite beyond the end of the buffer and the subsequent crash when closing the channel. The relevant location is tclIO.c, line 5004 in "GetInput". A patch will follow shortly.
- login: "andreas_kupries"
- mimetype: "text/plain"
- priority changed to: "7 High"
- username: "andreas_kupries"