Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1790a62da58b4e991a7c378b998c9788f17a93fe
Ticket: 3588687fffffffffffffffffffffffffffffffff
Tcl_InitStubs() Broken As Designed
User & Date: nijtmans on 2012-12-07 20:54:44
Changes

  1. icomment:
    The challenge is: Some person A build an extension foo.so.
    Another person B, which doesn't have the source code of
    that extension, tries to load it in Tcl9, and it crashes.
    So, the challenge is, how can Tcl9 detect that without
    making modifications to foo.so. We don't want to
    backport tclStubLib.c modifications to the field everywhere,
    giving additional restrictions to people. Joe English
    already expressed his reluctance to modify
    tclStubLib.c in current releases <= 8.6. I tried it already -
    before I found the alternative solution in tclLoad.c -
    which was put on-hold on your request.....
    
    It became clear to me that the solution must be
    found in Tcl9, not by modifying the 8.x stub library!
    
    
  2. login: "nijtmans"
  3. mimetype: "text/plain"
  4. username: "nijtmans"