Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d1f4e33e66e79537eca825d94ca9c0b3da4e9a82
Ticket: 3366265fffffffffffffffffffffffffffffffff
buffer overflow due to TclObjInterpProc flaw
User & Date: dgp on 2011-07-13 17:41:36
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    New test in a --enable-symbols=all build :
    
    test proc-3.7 {TclObjInterpProc, wrong num args} {
        proc {} {x} {}
        list [catch {{}} msg] $msg
    } {1 {wrong # args: should be "{} x"}}
    
    produces this memory validation failure:
    
    Test file error: hi guard byte 0 is 0x0
    total mallocs                  35586
    total frees                    29673
    current packets allocated       5913
    current bytes allocated       510073
    maximum packets allocated       6380
    maximum bytes allocated       576498
    high guard failed at 164b5498, /home/dgp/fossil/tcl8.4/unix/../generic/tclProc.c 1161
    2 bytes allocated at (/home/dgp/fossil/tcl8.4/unix/../generic/tclProc.c 1158)
    Memory validation failure
    
    Thanks to "jboning" on the chat for reporting.
    
  4. foundin changed to: "obsolete: 8.4.19"
  5. is_private changed to: "0"
  6. priority changed to: "9 Immediate"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "dgp"
  10. subsystem changed to: "22. [proc] and [uplevel]"
  11. title changed to: "buffer overflow due to TclObjInterpProc flaw"
  12. type changed to: "Bug"