Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d5d003f0e733deb932b918c1ef1d05ff0b34c97e7316a627ba93a59900abb4f1
Ticket: a8e4f76ce498ad648134e0b6867c359949055388
load library (dll) from zipfs-library causes a leak in temporary folder
User & Date: chw on 2024-11-26 18:12:20
Changes

  1. icomment:
    Ashok, I prefer the MemoryModule solution for the simple reason
    that it is used in a controlled environment (at least in theory).
    Or do we really mount arbitrary ZIPs containing evil DLLs?
    You might argue, that using ffidl or cffi that is not always
    ensured but then there's the possibility to finer control the
    capabilities of Tcl_LoadFile() by adding flags to exclude the
    MemoryModule if so desired.
    
    Since my early tests shortly after Jan added his branch were a
    full success on a real Win32 system (Wine not so much) with all
    the DLL stuff going into the undroidwish of the day, I like the
    MemoryModule approach (and yes, I build all my crap in a controlled
    way with MingW on Linux always trying to minimize dependencies).
    
    And finally, we could make this feature build-time optional.
    
  2. login: "chw"
  3. mimetype: "text/x-fossil-plain"