Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6e38e3d54b0b7d63b643d7b744a8c917e0b2080e
Ticket: 6141c1518631072728c55b18a6ae4ebbf1a0a3a2
Transchan loses input data when written to
User & Date: ferrieux on 2016-01-20 23:20:54
Changes

  1. icomment:
    More inspection shows that this truly happens in tclIORTrans.c with type tclRTransformType  rather than tclIOGT and transformChannelType, but the effect is the same: those generic types transform a static criterion (seekProc==NULL) into a dynamic one (seeking fails), in blatant mismatch with assumptions in the rest of the codebase.
    
    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.
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"