Overview
| Artifact ID: | a6b955a34386ad529d5aba125ecba949f59eb5af |
|---|---|
| Ticket: | 6141c1518631072728c55b18a6ae4ebbf1a0a3a2
Transchan loses input data when written to |
| User & Date: | aku on 2016-01-28 06:08:10 |
Changes
- icomment:
Alexandre, can you tell me more about the "Additional candy: transformChannelType->seekProc calls parentSeekProc without even checking for nullity (it does for wideSeek, but not for seek). No idea how to expose this at script level or if it is even possible, but a segfault might be reachable there." ? I just looked into the tclIORTrans.c on the trunk head and what I see is this: (1) ReflectSeek - redirects to ReflectSeekWide (line 1425) (2) ReflectSeekWide - checks seekProc and bails out if missing. (line 1341) - Later checks also wideSeekProc (line 1390), and falls back to seekProc (line 1398) if wide is missing or not supported per driver version. Further notes: The driver structure is used statically. This is in contrast to tclIORChan for base-drivers, which allocates and modifies it to suit the known methods of the script-level implementation. As such I do not see it able to deref a NULL pointer. At the moment it looks like I "only" have to modify the transform creation to allocate the driver structure as needed for modifications (no seeking), and destruction to release such allocated structure. - login: "aku"
- mimetype: "text/plain"