Skip to content
Tcl Source Code Artifact [f550e8ca21]
Login

Artifact [f550e8ca21]

Artifact f550e8ca21237b0bb8c9247be24241742d4d7387b9dac4f5c8e81a390cf9a157:

Ticket change [f550e8ca21] - New ticket [767e070d35e89c53|767e070d35] <i>Tcl_GetRange and Tcl_GetUniChar do not validate index inputs</i>. by dgp on 2020-03-13 16:44:42.
D 2020-03-13T16:44:42.279
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment Documentation\ssays\snothing\sabout\sit,\sbut\sthe\scomments\sin\sthe\scode\snote:\r\n\r\n"The\sindex\sis\sassumed\sto\sbe\sin\sthe\sappropriate\srange."\r\n\r\n"The\sfirst\sand\slast\sindices\sare\sassumed\sto\sbe\sin\sthe\sappropriate\srange."\r\n\r\nThis\sis\sa\sburden\son\sthe\scaller\sthat\sshould\sat\sleast\sbe\sdocumented.\r\n\r\nArguably\sworse,\ssince\sthe\scheck\sis\snot\sdone,\sthe\soperations\sof\sthe\sroutines\r\nare\sthen\sfree\sto\saccess\sunrestrained\smemory,\swhich\sseems\sa\srisk\sat\sleast.
J foundin all
J is_private 0
J login dgp
J priority 5\sMedium
J resolution None
J severity Minor
J status Open
J submitter dgp
J subsystem 10.\sObjects
J title Tcl_GetRange\sand\sTcl_GetUniChar\sdo\snot\svalidate\sindex\sinputs
J type Bug
K 767e070d35e89c53c88f7f4d01c30249ea82466f
U dgp
Z f2e10be850249c96c207a4900046679f