Tcl Source Code

Ticket Change Details
Login
Overview

Artifact ID: e8b7ae7e2f76b7ceca51dd9961c6d9f54813fee5
Ticket: 272e866f1ec0af1927a7899a81b1c58395832096
Uncontrolled overflow in ReadBytes()
User & Date: gustafn 2013-12-09 15:27:53
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"