Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b6f0b7e761699581771fbbddd5acd5375b7a0bf8fd6e62db17aa39d4c0cfb906
Ticket: 7e3f26c7481986b6c90359fd24d713a5c96c55f9
Memory corruption false positive with TCL_MEM_DEBUG
User & Date: apnadkarni on 2023-04-03 02:09:32
Changes

  1. icomment:
    You're right. Also, rethinking the 32-bit case, perhaps the issue could arise there as well for other object types. Maybe the 61 marker should be changed to something like E8 (high bit set, printable) to reduce the chances of this occurring in 32-bit systems (6161616161616161 is basically impossible in 64-bit systems (unless one artificially keeps incrementing for no reason) but 61616161 may be feasible on 32-bits with valid references.
    
    I'll wait in case someone else has comments/ideas to fix both these. Keeping ticket open for now.
    
  2. login: "apnadkarni"
  3. mimetype: "text/plain"