Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1edc08a7367fe8b9a6e739b637e92944097e74ef072618205c546e3831634f81
Ticket: f7495f63c01ea80069198ac183e1e0cc8873dabe
valgrind reports uninitialized memory access running the test suite
User & Date: jan.nijtmans on 2026-03-11 15:58:45
Changes

  1. closedate changed to: "2461111.1657997454"
  2. closer changed to: "jan.nijtmans"
  3. icomment:
    Wasting too much time in this kind of discussion, but ....
    
    > ... may lead to UB by an attempt to access the struct as a whole or to use it in certain operations
    
    The struct is _never_ accessed as a whole. Inside the Tcl_HashTable it is always accessed as 3 integers. Outside the Tcl_HashTables, there is no way to access the padding storage in the struct.
    
    If there's something wrong, valgrind should be able to show that.
    
    Sorry!
    
  4. login: "jan.nijtmans"
  5. mimetype: "text/x-fossil-wiki"