Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2453daf03a0ffe8b68a5e5102e407d3aef5da227
Ticket: 2613599fffffffffffffffffffffffffffffffff
Tcl_DStrings lack length overflow protections
User & Date: dgp on 2009-04-04 02:06:38
Changes

  1. icomment:
    
    An undocumented feature of
    Tcl_DStringSetLength() is to truncate
    all negative length requests as if
    they were zero length requests.
    Seems mildly dangerous to change
    that behavior for sake of those callers
    which might have come to rely on it.
    
    Documentation should continue (and
    perhaps more clearly) to demand
    non-negative length arguments for
    the supported interface.
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"