Tcl Source Code

Ticket Change Details
Login
Overview

Artifact ID: a2f106f10be8d0db55505ba3de861ec1e7ccab4e
Ticket: 272e866f1ec0af1927a7899a81b1c58395832096
Uncontrolled overflow in ReadBytes()
User & Date: gustafn 2013-12-09 15:28:16
Changes

  1. icomment:
    yep, using Tcl_AttemptSetObjLength() seems better, although the function is quite complex. i would prefer a function Tcl_GrowObjLength(... desired_length, required_min_length) to keep the changes mininmal and to encapsulate the growing behavior.
    
  2. login: "gustafn"
  3. mimetype: "text/plain"