From: <tcl...@tc...> - 2013-12-09 15:33:57
|
Repository: http://core.tcl.tk/tcl Change Notification For [Uncontrolled overflow in ReadBytes()] Ticket http://core.tcl.tk/tcl/tktview?name=272e866f1ec0af1927a7899a81b1c58395832096 Artifact http://core.tcl.tk/tcl/tinfo?name=e8b7ae7e2f76b7ceca51dd9961c6d9f54813fee5 On 2013-12-09T15:27:53 By gustafn Changed Fields 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. login: gustafn |