Skip to content
Tcl Source Code Artifact [5648b319c4]
Login

Artifact [5648b319c4]

Artifact 5648b319c4f12a8524b81a124c8b3244b89875c04c912418f66124db708f50c9:

Ticket change [5648b319c4] - New ticket [819f7040535f7f1c|819f704053] <i>TclGetUnicodeFromObj doesn&#39;t handle numChars &gt; INT_MAX</i>. by dgp on 2021-11-06 18:11:11.
D 2021-11-06T18:11:11.337
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment \s\r\nLine\s617\sof\stclStringObj.c:\r\n\r\n\s\s\s\s\s\s\s*lengthPtr\s=\s(int)stringPtr->numChars;\r\n\r\nThe\scast\smight\smake\stype-checking\scompilers\shappy,\r\nbut\sit\swill\snot\shandle\sthe\scase\swhen\sstringPtr->numChars\s>\sINT_MAX\r\nin\sany\sway\sthat\scan\sbe\sconsidered\ssensible.\r\n\r\nMy\sfirst\sguess\sis\swe\sought\sto\spanic.\s\sYou\scan't\suse\sa\sconstrained\r\ninterface\sto\sfetch\sa\svalue\snot\swithin\sthat\sconstraint.
J foundin trunk
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 TclGetUnicodeFromObj\sdoesn't\shandle\snumChars\s>\sINT_MAX
J type Bug
K 819f7040535f7f1c9857d447680fda1df83c48c3
U dgp
Z 1f53ae478d51ef2039c3b6d4f76974e2