Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d3d0b87019d94444dc0f6832de10457a1acd9eea
Ticket: 3366265fffffffffffffffffffffffffffffffff
buffer overflow due to TclObjInterpProc flaw
User & Date: dgp on 2011-07-14 09:43:29
Changes

  1. icomment:
    On the 8.5 branch, the bug's moved over to
    Tcl_WrongNumArgs().  It's also been defanged
    because the TclStackAlloc() allocator is now used,
    and that allocator doesn't have a memory debugger
    to trip, and in the failing case of an empty proc name,
    the TclStackAlloc() practice of allocating by pointer-sized
    words automatically provides enough extra overhead
    space to not permit a failure.
    
    Nevertheless, imagining some future maintenance
    programmer converting from TclStackAlloc() back
    to ckalloc(), it's best to get the requested size correct.
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"