Skip to content
Tcl Source Code Artifact [9459e10bcc]
Login

Artifact [9459e10bcc]

Artifact 9459e10bccd31d0ddb3dd485118592377c2134165115ef29430486640a4665a5:

Ticket change [9459e10bcc] - Ticket [c9663296fd31fbb2|c9663296fd] <i>GrowStringBuffer and GrowUnicodeBuffer do not check for overflows</i> status still Open with 3 other changes by apnadkarni on 2023-05-06 02:23:06.
D 2023-05-06T02:23:06.803
J icomment Christopher,\swith\srespect\sto\s[69b4f7eb37],\syes\sthat\sis\sa\slittle\sdifferent\sbecause\sit\sexpects\sto\sread\sa\scertain\snumber\sand\ssets\sthe\sTcl_Obj\sbuffer\sto\sthat\slength.\r\n\r\nHowever,\sone\sof\sthe\scomments\sin\sthat\sticket\stalks\sabout\sthe\sfallback\sto\sactual\srequested\ssize\s(TCL_MIN_GROWTH\setc.).\sThis\spatch\saddresses\sthat\sto\ssome\sextent\sas\swell.\sIf\sthe\sinitial\soverallocation\sfails,\sthe\sfallback\snow\suses\sa\s"binary\ssearch"\skind\sof\smechanism\sto\sover\sallocate.\sThere\sis\sof\scourse\sa\strade\soff\sthere\sas\smultiple\sattempts\swill\sbe\smade\sinstead\sof\sa\ssingle\sadditional\sattempt.\r\n\r\n/Ashok
J login apnadkarni
J mimetype text/x-fossil-plain
K c9663296fd31fbb2fa1ff1cf019b59f432983516
U apnadkarni
Z b8af453973232ef142e3050d3ef3a785