Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d5f4158eefade4e0381eb704dd44cb5f746aaf59
Ticket: 2973361fffffffffffffffffffffffffffffffff
mem corrupt troubles, [try] ?
User & Date: dgp on 2010-03-22 11:38:05
Changes

  1. assignee changed to: "andreas_kupries"
  2. icomment:
    Well, the "-1" values are undoubtedly the
    wrong thing to pass in.  They are just causing
    attempts to read to the memory below the
    array in memory, which makes valgrind burp.
    
    INT_MAX appears to be a "don't know" or
    "don't attempt to use me" value that appears
    elsewhere.  Assigning to the TIP 280 master
    for confirmation.
    
    I agree that ultimately it would be nicer to
    just compute the right values and pass them
    in.  TclArgumentGet() appears to be a utility
    that may help with that.  In the more immediate
    term, though, I just want to stop doing something
    broken.  Unless aku objects, I think a -1 -> INT_MIN
    revision is a step in the right direction.
    
    
  3. login: "dgp"
  4. mimetype: "text/plain"
  5. username: "dgp"