Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0bc39e7ba9b5fd5851cc3b4b95647bc2a7fc9f62
Ticket: 584051ffffffffffffffffffffffffffffffffff
Tcl_Parse* ignore length argument
User & Date: dgp on 2002-07-19 22:24:01
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    In the tcltest executable, try:
    
    testparsevarname {$a(f_} 4 0
    
    This should try to parse the first 4
    characters of the string as a 
    variable name.  It should return
    an error message "missing )"
    because the first 4 characters
    so not spell out a legal variable
    name.
    
    However, unless the caller has
    replaced _ with \0, Tcl_ParseVarName
    is quite happy to go marching
    through memory looking for that
    close paren.
    
    
  4. foundin changed to: "obsolete: 8.4b2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "dgp"
  9. subsystem changed to: "45. Parsing and Eval"
  10. title changed to: "Tcl_ParseVarName ignores length"
  11. type changed to: "Bug"