Skip to content
Tcl Source Code Artifact [67e146dfbe]
Login

Artifact [67e146dfbe]

Artifact 67e146dfbef71a0024a65abccd7a5d81accea8dc4c06b4590c5806276f138be5:

Ticket change [67e146dfbe] - Ticket [8c4082563d6a7ebd|8c4082563d] <i>Tcl_Eval() result can be truncated at NUL</i> status still Closed with 5 other changes by serhiy.storchaka on 2024-06-23 14:04:21.
D 2024-06-23T14:04:21.676
J closedate 2460485.08636199
J closer serhiy.storchaka
J icomment I\stested\salso\sother\seval\sfunctions\s(they\sare\snot\sused\sin\sTkinter).\s`Tcl_EvalObjEx`,\s`Tcl_EvalEx`\sand\s`Tcl_GlobalEvalObj`\sdo\snot\struncate\sthe\sresult.\s`Tcl_VarEval`\sand\s`Tcl_GlobalEval`\struncate\sthe\sresult.\r\n\r\nLooking\sat\sthe\scode\sof\s`Tcl_Eval`,\sit\sis\ssimply\s`Tcl_EvalEx`\sfollowed\sby\s`Tcl_GetStringResult`.\sSo\sthe\sresult\sis\struncated\sin\s`Tcl_GetStringResult`.\r\n\r\nThe\sdocumentation\sfor\s`Tcl_NewStringObj`\simplies\sthat\sembedded\snull\sbytes\sare\sacceptable\sif\sthe\slength\sis\sspecified.
J login serhiy.storchaka
J mimetype text/x-markdown
K 8c4082563d6a7ebda4b8804e221a0de31c4c40e4
U serhiy.storchaka
Z d7f33a3879827b737e8fcd18c95f3d70