Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ad11bedadc8b158e3e055cfc613f9d2900bdf216
Ticket: 1259431fffffffffffffffffffffffffffffffff
Check for 0 byte allocation in ckalloc
User & Date: dkf on 2005-08-15 22:03:30
Changes

  1. icomment:
    Logged In: YES 
    user_id=79902
    
    The core currently checks (in Tcl_Alloc()) to see whether a
    NULL low-level alloc result is coming from asking for zero
    bytes; if so, it *doesn't* panic. This indicates that
    panic-ing on zero-alloc is probably wrong.
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"