Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b4f9ae787c2a28537f0911b3691852d9977707ac9bc1cb39dbec21c71e1992a4
Ticket: 40b1814b93e50b4a9627e6651184880233d63616
App verifier shows user-after-free on ThreadSpecificData for Windows sockets
User & Date: apnadkarni on 2025-06-14 03:32:00
Changes

  1. icomment:
    Notes for reproduction:
    
    Build as
    
    ```
    nmake /f makefile.vc /nologo INSTALLDIR=C:\Tcl\wip\%VSCMD_ARG_TGT_ARCH%-debug OPTS=pdbs cdebug="-Zi -Od -DPURIFY" tcltest
    ```
    
    Add tcltest90.exe to AppVerifier. Run tcltest90 within a VS debugger (that's where AppVerifier messages will show up).
    
    ```
    close [socket www.example.com 443]
    exit <- where the use after free is triggered
    ```
    
  2. login: "apnadkarni"
  3. mimetype: "text/x-markdown"